-
Notifications
You must be signed in to change notification settings - Fork 1
/
new2.yml
396 lines (384 loc) · 9.42 KB
/
new2.yml
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
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
port: 7890
socks-port: 7891
allow-lan: true
mode: rule
log-level: silent
ipv6: false
external-controller: 127.0.0.1:9090
dns:
enable: true
ipv6: false
listen: 0.0.0.0:53
default-nameserver:
- 1.1.1.1
- 1.0.0.1
- 8.8.8.8
- 8.8.4.4
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16
fake-ip-filter:
- '*.lan'
- '*.linksys.com'
- '*.linksyssmartwifi.com'
- 'swscan.apple.com'
- 'mesu.apple.com'
- '*.msftconnecttest.com'
- '*.msftncsi.com'
- 'time.*.com'
- 'time.*.gov'
- 'time.*.edu.ir'
- 'time.*.apple.com'
- 'time1.*.com'
- 'time2.*.com'
- 'time3.*.com'
- 'time4.*.com'
- 'time5.*.com'
- 'time6.*.com'
- 'time7.*.com'
- 'ntp.*.com'
- 'ntp.*.com'
- 'ntp1.*.com'
- 'ntp2.*.com'
- 'ntp3.*.com'
- 'ntp4.*.com'
- 'ntp5.*.com'
- 'ntp6.*.com'
- 'ntp7.*.com'
- '*.time.ir'
- '*.ntp.org.ir'
- '+.pool.ntp.org'
- '+.srv.nintendo.net'
- '+.stun.playstation.net'
- 'xbox.*.microsoft.com'
- '+.xboxlive.com'
- 'localhost.ptlogin2.qq.com'
- 'proxy.golang.org'
- 'stun.*.*'
- 'stun.*.*.*'
nameserver:
- tls://dns.google:853
- https://dns.google/dns-query
- https://cloudflare-dns.com/dns-query
- https://dns.adguard.com/dns-query
fallback:
- tls://dns.google:853
- https://dns.google/dns-query
- https://cloudflare-dns.com/dns-query
- https://dns.adguard.com/dns-query
fallback-filter:
geoip: true
ipcidr:
- 240.0.0.0/4
- 0.0.0.0/32
proxies:
proxy-groups:
- name: Global Selection
type: select
proxies:
- Low Ping
- Select2
- Select Node
- Failover
- Load balancing
- name: Select2
type: select
proxies:
- 🇨🇳 CN
- 🇯🇵 JP
- 🇸🇬 SG
- 🇺🇸 US
- 🇨🇦 CA
- 🇷🇺 RU
- 🇦🇺 AU
- 🇨🇭 CH
- 🇩🇪 DE
- 🇫🇷 FR
- 🇬🇧 GB
- 🇳🇱 NL
- OTHERS
- name: Select Node
type: select
use:
- all
- name: 🇨🇳 CN
type: url-test
url: 'http://www.gstatic.com/generate_204'
interval: 900
use:
- cn
- name: 🇯🇵 JP
type: url-test
url: 'http://www.gstatic.com/generate_204'
interval: 900
use:
- jp
- name: 🇸🇬 SG
type: url-test
url: 'http://www.gstatic.com/generate_204'
interval: 900
use:
- sg
- name: 🇺🇸 US
type: url-test
url: 'http://www.gstatic.com/generate_204'
interval: 900
use:
- us
- name: 🇨🇦 CA
type: url-test
url: 'http://www.gstatic.com/generate_204'
interval: 900
use:
- ca
- name: 🇷🇺 RU
type: url-test
url: 'http://www.gstatic.com/generate_204'
interval: 900
use:
- ru
- name: 🇦🇺 AU
type: url-test
url: 'http://www.gstatic.com/generate_204'
interval: 900
use:
- au
- name: 🇨🇭 CH
type: url-test
url: 'http://www.gstatic.com/generate_204'
interval: 900
use:
- ch
- name: 🇩🇪 DE
type: url-test
url: 'http://www.gstatic.com/generate_204'
interval: 900
use:
- de
- name: 🇫🇷 FR
type: url-test
url: 'http://www.gstatic.com/generate_204'
interval: 900
use:
- fr
- name: 🇬🇧 GB
type: url-test
url: 'http://www.gstatic.com/generate_204'
interval: 900
use:
- gb
- name: 🇳🇱 NL
type: url-test
url: 'http://www.gstatic.com/generate_204'
interval: 900
use:
- nl
- name: OTHERS
type: url-test
url: 'http://www.gstatic.com/generate_204'
interval: 900
use:
- others
- name: Low Ping
type: url-test
use:
- all
url: 'http://www.gstatic.com/generate_204'
interval: 900
- name: Load balancing
type: load-balance
use:
- all
url: 'http://www.gstatic.com/generate_204'
interval: 300
- name: Failover
type: fallback
use:
- all
url: 'http://www.gstatic.com/generate_204'
interval: 900
proxy-providers:
au:
type: http
url: "https://proxypool.fly.dev/clash/proxies?c=AU"
path: proxypool.fly.dev/provider-au.yaml
health-check:
enable: true
interval: 900
url: http://www.gstatic.com/generate_204
cn:
type: http
url: "https://proxypool.fly.dev/clash/proxies?c=CN,HK,TW"
path: proxypool.fly.dev/provider-cn.yaml
health-check:
enable: true
interval: 900
url: http://www.gstatic.com/generate_204
us:
type: http
url: "https://proxypool.fly.dev/clash/proxies?c=US"
path: proxypool.fly.dev/provider-us.yaml
health-check:
enable: true
interval: 900
url: http://www.gstatic.com/generate_204
ca:
type: http
url: "https://proxypool.fly.dev/clash/proxies?c=CA"
path: proxypool.fly.dev/provider-ca.yaml
health-check:
enable: true
interval: 900
url: http://www.gstatic.com/generate_204
jp:
type: http
url: "https://proxypool.fly.dev/clash/proxies?c=JP"
path: proxypool.fly.dev/provider-jp.yaml
health-check:
enable: true
interval: 900
url: http://www.gstatic.com/generate_204
sg:
type: http
url: "https://proxypool.fly.dev/clash/proxies?c=SG"
path: proxypool.fly.dev/provider-sg.yaml
health-check:
enable: true
interval: 900
url: http://www.gstatic.com/generate_204
ru:
type: http
url: "https://proxypool.fly.dev/clash/proxies?c=RU"
path: proxypool.fly.dev/provider-ru.yaml
health-check:
enable: true
interval: 900
url: http://www.gstatic.com/generate_204
ch:
type: http
url: "https://proxypool.fly.dev/clash/proxies?c=CH"
path: proxypool.fly.dev/provider-ch.yaml
health-check:
enable: true
interval: 900
url: http://www.gstatic.com/generate_204
de:
type: http
url: "https://proxypool.fly.dev/clash/proxies?c=DE"
path: proxypool.fly.dev/provider-de.yaml
health-check:
enable: true
interval: 900
url: http://www.gstatic.com/generate_204
fr:
type: http
url: "https://proxypool.fly.dev/clash/proxies?c=FR"
path: proxypool.fly.dev/provider-fr.yaml
health-check:
enable: true
interval: 900
url: http://www.gstatic.com/generate_204
gb:
type: http
url: "https://proxypool.fly.dev/clash/proxies?c=GB"
path: proxypool.fly.dev/provider-gb.yaml
health-check:
enable: true
interval: 900
url: http://www.gstatic.com/generate_204
nl:
type: http
url: "https://proxypool.fly.dev/clash/proxies?c=NL"
path: proxypool.fly.dev/provider-nl.yaml
health-check:
enable: true
interval: 900
url: http://www.gstatic.com/generate_204
others:
type: http
url: "https://proxypool.fly.dev/clash/proxies?nc=CN,HK,TW,US,CA,JP,SG,AU,CH,DE,GB,NL,FR,RU"
path: proxypool.fly.dev/provider-others.yaml
health-check:
enable: true
interval: 900
url: http://www.gstatic.com/generate_204
all:
type: http
url: "https://proxypool.fly.dev/clash/proxies"
path: proxypool.fly.dev/provider.yaml
health-check:
enable: true
interval: 900
url: http://www.gstatic.com/generate_204
rule-providers:
rejecter:
type: http
behavior: domain
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/reject.txt"
path: ./providers/rule/reject.yaml
interval: 3600
ad-keyword:
type: http
behavior: classical
path: ./providers/rule/common-ad-keyword.yaml
url: "https://cdn.jsdelivr.net/gh/Hackl0us/SS-Rule-Snippet@master/Rulesets/Clash/Basic/common-ad-keyword.yaml"
interval: 3600
googled:
type: http
behavior: domain
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/google.txt"
path: ./providers/rule/google.yaml
interval: 3600
bloc:
type: http
behavior: classical
path: ./providers/rule/block3.yaml
url: "https://raw.githubusercontent.com/Shikopat/block/main/block2.yaml"
interval: 3600
foreign:
type: http
behavior: classical
path: ./providers/rule/foreign.yaml
url: "https://cdn.jsdelivr.net/gh/Hackl0us/SS-Rule-Snippet@master/Rulesets/Clash/Basic/foreign.yaml"
interval: 3600
filtered:
type: http
behavior: domain
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/proxy.txt"
path: ./providers/rule/proxy.yaml
interval: 3600
telegramcidr:
type: http
behavior: ipcidr
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/telegramcidr.txt"
path: ./providers/rule/telegramcidr.yaml
interval: 3600
lancidr:
type: http
behavior: ipcidr
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt"
path: ./providers/rule/lancidr.yaml
interval: 3600
dire:
type: http
behavior: classical
path: ./providers/rule/dire.yaml
url: "https://cdn.jsdelivr.net/gh/Shikopat/direct/direct.yaml"
interval: 3600
goovid:
type: http
behavior: domain
url: "https://cdn.jsdelivr.net/gh//Shikopat/block/gvid.txt"
path: ./providers/rule/gvid.yaml
interval: 3600
rules:
- RULE-SET,ad-keyword,REJECT
- RULE-SET,bloc,REJECT
- RULE-SET,goovid,REJECT
- RULE-SET,lancidr,DIRECT
- RULE-SET,foreign,Global Selection
- RULE-SET,telegramcidr,Global Selection
- RULE-SET,googled,Global Selection
- RULE-SET,filtered,Global Selection
- RULE-SET,dire,DIRECT
- GEOIP,IR,DIRECT
- MATCH,Select2,Low Ping