-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathConfig.yaml
281 lines (248 loc) · 7.63 KB
/
Config.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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
# 𝐥𝐚𝐨𝐬𝐡𝐮@𝐒𝐭𝐚𝐬𝐡 自用配置
# 𝐔𝐑𝐋: https://raw.githubusercontent.com/jnlaoshu/MySelf/master/Stash/Config.yaml
# 𝐔𝐩𝐝𝐚𝐭𝐞: 2023.08.07 10:36
mixed-port: 7890
allow-lan: true
bind-address: '*'
mode: Rule
log-level: info
ipv6: true
external-controller: :9090
# > 机场流量信息
subscribe-url: https://sub.store/download/Server1
proxy-providers:
All:
type: http
url: "https://sub.store/download/collection/AllServer"
interval: 86400
path: ./all.yaml
health-check:
enable: true
interval: 600
url: http://cp.cloudflare.com/generate_204
dns:
enable: true
ipv6: true
listen: 0.0.0.0:53
default-nameserver:
- 119.29.29.29
- 223.5.5.5
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16
fake-ip-filter:
- '*.lan'
- localhost.ptlogin2.qq.com
- '+.srv.nintendo.net'
- '+.stun.playstation.net'
- '+.msftconnecttest.com'
- '+.msftncsi.com'
- '+.xboxlive.com'
- 'msftconnecttest.com'
- 'xbox.*.microsoft.com'
- '*.battlenet.com.cn'
- '*.battlenet.com'
- '*.blzstatic.cn'
- '*.battle.net'
nameserver:
- https://doh.pub/dns-query
- https://dns.alidns.com/dns-query
proxies:
proxy-groups:
- name: 手动切换
type: select
icon: https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Rocket.png
use:
- All
proxies:
- 自动选择
- 故障转移
- name: 自动选择
type: url-test
icon: https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Auto.png
use:
- All
url: "http://www.gstatic.com/generate_204"
interval: 300
- name: 故障转移
type: fallback
icon: https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Bypass.png
url: 'http://www.gstatic.com/generate_204'
interval: 300
use:
- All
- name: 国内网站
type: select
icon: https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/China_Map.png
proxies:
- DIRECT
- 手动切换
- 自动选择
- 故障转移
- 香港节点
- 台湾节点
- 日本节点
- 韩国节点
- 狮城节点
- 美国节点
- 其他节点
- name: 国外网站
type: select
icon: https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Global.png
proxies:
- 手动切换
- 自动选择
- 故障转移
- 香港节点
- 台湾节点
- 日本节点
- 韩国节点
- 狮城节点
- 美国节点
- 其他节点
- DIRECT
- name: 香港节点
type: select
icon: https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Hong_Kong.png
use:
- All
filter: 港|🇭🇰|HK|(?i)Hong
- name: 台湾节点
type: select
icon: https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Taiwan.png
use:
- All
filter: 台|🇹🇼|TW|(?i)Taiwan
- name: 日本节点
type: select
icon: https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Japan.png
use:
- All
filter: 日|🇯🇵|JP|(?i)Japan
- name: 狮城节点
type: select
icon: https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Singapore.png
use:
- All
filter: 坡|🇸🇬|狮城|SG|(?i)Singapore
- name: 韩国节点
type: select
icon: https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Korea.png
use:
- All
filter: 韩|🇰🇷|韓|KR|KOR|(?i)Korea
- name: 美国节点
type: select
icon: https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/United_States.png
use:
- All
filter: 美|🇺🇸|US|(?i)States|American
- name: 其他节点
type: select
icon: https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Server.png
use:
- All
filter: ^((?!🇭🇰|港|HK|Hong|🇹🇼|台|TW|Tai|🇯🇵|日|JP|Japan|🇸🇬|坡|狮城|SG|Singapore|🇰🇷|韩|KR|KOR|Korea|🇺🇸|美|US|States|American).)*$
rule-providers:
# 远程规则集
Adblock:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/AdvertisingLite/AdvertisingLite_Domain.yaml"
path: ./ruleset/AdDomain.yaml
interval: 86400
Apple:
type: http
behavior: classical
url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Apple/Apple.yaml"
path: ./ruleset/Apple.yaml
interval: 86400
Google:
type: http
behavior: classical
url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Google/Google.yaml"
path: ./ruleset/Google.yaml
interval: 86400
Microsoft:
type: http
behavior: classical
url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Microsoft/Microsoft.yaml"
path: ./ruleset/Microsoft.yaml
interval: 86400
WeChat:
type: http
behavior: classical
url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/WeChat/WeChat.yaml"
path: ./ruleset/WeChat.yaml
interval: 86400
Telegram:
type: http
behavior: classical
url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Telegram/Telegram.yaml"
path: ./ruleset/Telegram.yaml
interval: 86400
OpenAI:
type: http
behavior: classical
url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/OpenAI/OpenAI.yaml"
path: ./ruleset/OpenAI.yaml
interval: 86400
Twitter:
type: http
behavior: classical
url: https://raw.githubusercontents.com/blackmatrix7/ios_rule_script/master/rule/Clash/Twitter/Twitter.yaml
path: ./ruleset/Twitter.yaml
interval: 86400
YouTube:
type: http
behavior: classical
url: https://raw.githubusercontents.com/blackmatrix7/ios_rule_script/master/rule/Clash/YouTube/YouTube.yaml
path: ./ruleset/YouTube.yaml
interval: 86400
TikTok:
type: http
behavior: classical
url: https://raw.githubusercontents.com/blackmatrix7/ios_rule_script/master/rule/Clash/TikTok/TikTok.yaml
path: ./ruleset/TikTok.yaml
interval: 86400
Streaming: # 国际媒体
type: http
behavior: classical
url: https://raw.githubusercontents.com/ACL4SSR/ACL4SSR/master/Clash/Providers/ProxyMedia.yaml
path: ./ruleset/Streaming.yaml
interval: 86400
China:
type: http
behavior: classical
url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/China/China.yaml"
path: ./ruleset/China.yaml
interval: 86400
Global:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/proxy.txt"
path: ./ruleset/Global.yaml
interval: 86400
Lan: # 局域网
type: http
behavior: classical
url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Lan/Lan.yaml"
path: ./ruleset/lan.yaml
interval: 86400
rules:
# 分流规则引用
- RULE-SET,Adblock,REJECT
- RULE-SET,Apple,国内网站
- RULE-SET,Google,国外网站
- RULE-SET,Microsoft,国内网站
- RULE-SET,WeChat,国内网站
- RULE-SET,OpenAI,国外网站
- RULE-SET,Telegram,国外网站
- RULE-SET,Twitter,国外网站
- RULE-SET,YouTube,国外网站
- RULE-SET,TikTok,国外网站
- RULE-SET,Streaming,国外网站
- RULE-SET,China,国内网站
- RULE-SET,Global,国外网站
- RULE-SET,Lan,DIRECT
- GEOIP,CN,国内网站
- MATCH,国外网站