-
Notifications
You must be signed in to change notification settings - Fork 0
/
clash-template.yaml
197 lines (179 loc) · 4.82 KB
/
clash-template.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
mixed-port: 7890
allow-lan: true
mode: rule
log-level: info
ipv6: false
#dns: #DNS 设置一般无需打开,如果你坚持想用,请确保你知道在做什么
#enable: true
#listen: 0.0.0.0:53
#ipv6: false
#default-nameserver:
#- 223.5.5.5
#- 119.29.29.29
#enhanced-mode: redir-host
#nameserver:
#- https://doh.pub/dns-query
#- https://dns.alidns.com/dns-query
#fallback:
#- https://1.1.1.1/dns-query
#- https://dns.google/dns-query
#fallback-filter:
#geoip: true
#geoip-code: CN
#ipcidr:
#- 240.0.0.0/4
proxy-providers:
myproxy:
type: http
url: https://example.com #粘贴 Proxy Provider Converter 提供的链接
interval: 172800
path: ./myproxy.yaml
health-check:
enable: true
interval: 600
# lazy: true
url: http://www.gstatic.com/generate_204
proxy-groups:
- name: "PROXY"
type: select
use:
- myproxy
- name: "Ads"
type: select
proxies:
- REJECT
- PROXY
- DIRECT
- name: "Apple"
type: select
proxies:
- DIRECT
- PROXY
- name: "Telegram"
type: select
use:
- myproxy
proxies:
- PROXY
- name: "YouTube"
type: select
use:
- myproxy
proxies:
- PROXY
- name: "GlobalMedia"
type: select
use:
- myproxy
proxies:
- PROXY
- name: "Steam"
type: select
use:
- myproxy
proxies:
- DIRECT
- PROXY
- name: "Others"
type: select
proxies:
- PROXY
- DIRECT
rule-providers:
reject:
type: http
behavior: domain
url: "https://ghproxy.com/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/reject.txt"
path: ./ruleset/reject.yaml
interval: 86400
icloud:
type: http
behavior: domain
url: "https://ghproxy.com/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/icloud.txt"
path: ./ruleset/icloud.yaml
interval: 86400
apple:
type: http
behavior: domain
url: "https://ghproxy.com/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/apple.txt"
path: ./ruleset/apple.yaml
interval: 86400
streaming:
type: http
behavior: classical
url: "https://ghproxy.com/https://raw.githubusercontent.com/DivineEngine/Profiles/master/Clash/RuleSet/StreamingMedia/Streaming.yaml"
path: ./ruleset/streaming.yaml
interval: 86400
steam:
type: http
behavior: classical
url: 'https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Steam/Steam.yaml'
path: ./ruleset/steam.yaml
interval: 86400
steamCN:
type: http
behavior: classical
url: 'https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/SteamCN/SteamCN.yaml'
path: ./ruleset/steamCN.yaml
interval: 86400
youtube:
type: http
behavior: classical
url: 'https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/YouTube/YouTube.yaml'
path: ./ruleset/youtube.yaml
interval: 86400
proxy:
type: http
behavior: domain
url: "https://ghproxy.com/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/proxy.txt"
path: ./ruleset/proxy.yaml
interval: 86400
direct:
type: http
behavior: domain
url: "https://ghproxy.com/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/direct.txt"
path: ./ruleset/direct.yaml
interval: 86400
private:
type: http
behavior: domain
url: "https://ghproxy.com/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/private.txt"
path: ./ruleset/private.yaml
interval: 86400
telegramcidr:
type: http
behavior: ipcidr
url: "https://ghproxy.com/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/telegramcidr.txt"
path: ./ruleset/telegramcidr.yaml
interval: 86400
lancidr:
type: http
behavior: ipcidr
url: "https://ghproxy.com/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/lancidr.txt"
path: ./ruleset/lancidr.yaml
interval: 86400
applications:
type: http
behavior: classical
url: "https://ghproxy.com/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/applications.txt"
path: ./ruleset/applications.yaml
interval: 86400
rules:
- RULE-SET,applications,DIRECT
- DOMAIN,clash.razord.top,DIRECT
- DOMAIN,yacd.haishan.me,DIRECT
- RULE-SET,private,DIRECT
- RULE-SET,reject,Ads
- RULE-SET,icloud,Apple
- RULE-SET,apple,Apple
- RULE-SET,youtube,YouTube
- RULE-SET,streaming,GlobalMedia
- RULE-SET,steamCN,DIRECT
- RULE-SET,steam,Steam
- RULE-SET,proxy,PROXY
- RULE-SET,direct,DIRECT
- RULE-SET,telegramcidr,Telegram
- RULE-SET,lancidr,DIRECT
- GEOIP,CN,DIRECT
- MATCH,Others
#修改一下提交