-
Notifications
You must be signed in to change notification settings - Fork 0
/
Lazy4.0.yaml
425 lines (408 loc) · 14.8 KB
/
Lazy4.0.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
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
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
############## 注意:该配置文件为meta内核专用,不适合其他clash内核 #################
########################################################################分隔符
pq: &pq {type: http, interval: 86400, health-check: {enable: true, url: https://www.gstatic.com/generate_204, interval: 600, format: yaml}} ##### 订阅锚点 #####
# url 里填写自己的订阅,订阅名称不能重复
proxy-providers:
sub1: ###订阅名称###
<<: *pq
url: ""
# sub2: ###订阅名称###
# <<: *pq
# url: ""
pp: &pp {use: [ sub1 ]} ##### 机场合集 #####
########################################################################分隔符
######### 锚点 begin #########
pc: &pc {type: http, behavior: classical, interval: 86400, format: yaml} ##### rule-providers锚点 #####
pd: &pd {type: http, behavior: domain, interval: 86400, format: yaml} ##### rule-providers锚点 #####
pi: &pi {type: http, behavior: ipcidr, interval: 86400, format: yaml} ##### rule-providers锚点 #####
o1: &o1 {type: select, proxies: [🚀 节点选择, ♻️ 自动选择, 🇭🇰 香港节点, 🇨🇳 台湾节点, 🇸🇬 狮城节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇺🇸 美国节点, 🎯 全球直连], <<: *pp} ###### 策略组描点 ######
o2: &o2 {type: select, proxies: [🎯 全球直连, 🚀 节点选择, ♻️ 自动选择, 🇭🇰 香港节点, 🇨🇳 台湾节点, 🇸🇬 狮城节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇺🇸 美国节点]} ###### 策略组描点 ######
ot: &ot {type: url-test, interval: 600, tolerance: 100, lazy: true, url: https://www.gstatic.com/generate_204, <<: *pp} ##### 策略组描点 #####
######### 锚点 end #########
########################################################################分隔符
proxy-groups:
- {name: 🚀 节点选择, type: select, proxies: [♻️ 自动选择, 🇭🇰 香港节点, 🇨🇳 台湾节点, 🇸🇬 狮城节点, 🇯🇵 日本节点, 🇺🇸 美国节点], <<: *pp}
- {name: ♻️ 自动选择, <<: *ot}
- {name: 📲 电报信息, <<: *o1}
- {name: 📱 Twitter, <<: *o1}
- {name: 💬 OpenAi, <<: *o1}
- {name: 🎬 油管视频, <<: *o1}
- {name: 🎥 奈飞视频, <<: *o1}
- {name: 🏰 Disney, <<: *o1}
- {name: 📽️ 巴哈姆特, type: select, proxies: [🇨🇳 台湾节点, 🇭🇰 香港节点, 🚀 节点选择]}
- {name: 📺 哔哩哔哩, type: select, proxies: [🎯 全球直连, 🇨🇳 台湾节点, 🇭🇰 香港节点]}
- {name: 🌎 国外媒体, <<: *o1}
- {name: 🌏 国内媒体, type: select, proxies: [🎯 全球直连, 🇨🇳 台湾节点, 🇭🇰 香港节点, 🚀 节点选择]}
- {name: ☣️ Copilot, <<: *o1}
- {name: 🍎 苹果服务, <<: *o2}
- {name: Ⓜ️ 微软服务, <<: *o2}
- {name: 🎮 游戏平台, <<: *o1}
- {name: 📥 PT下载, <<: [*o2, *pp]}
- {name: 🐱 Github, <<: *o1}
- {name: 🎯 全球直连, type: select, proxies: [DIRECT,REJECT]}
- {name: 🍃 广告拦截, type: select, proxies: [REJECT,DIRECT]}
- {name: 🐟 漏网之鱼, <<: *o1}
#地区策略组
- {name: 🇭🇰 香港节点, <<: *ot, filter: "(?i)港|hk|hongkong|hong kong"}
- {name: 🇨🇳 台湾节点, <<: *ot, filter: "(?i)台|tw|taiwan|tai wan"}
- {name: 🇸🇬 狮城节点, <<: *ot, filter: "(?i)新加坡|sg|singapore|狮城"}
- {name: 🇯🇵 日本节点, <<: *ot, filter: "(?i)日|jp|japan"}
- {name: 🇰🇷 韩国节点, <<: *ot, filter: "(?i)韩|kr|korea"}
- {name: 🇺🇸 美国节点, <<: *ot, filter: "(?i)美|us|unitedstates|united states"}
rules:
# - IN-TYPE,INNER,🎯 全球直连
- RULE-SET,LocalAreaNetwork,🎯 全球直连
- RULE-SET,Unban,🎯 全球直连
- RULE-SET,DirectPT,🎯 全球直连
- RULE-SET,DirectCN,🎯 全球直连
- RULE-SET,SteamCN,🎯 全球直连
# - RULE-SET,BanEasyListChina,🍃 广告拦截
- RULE-SET,BanAD,🍃 广告拦截
- RULE-SET,MyBanAD,🍃 广告拦截
# - RULE-SET,BanEasyList,🍃 广告拦截
# - RULE-SET,BanEasyPrivacy,🍃 广告拦截
- RULE-SET,PrivateTracker,📥 PT下载
- RULE-SET,MyPrivateTracker,📥 PT下载
- RULE-SET,Telegram,📲 电报信息
- RULE-SET,Twitter,📱 Twitter
- RULE-SET,OpenAi,💬 OpenAi
- RULE-SET,YouTube,🎬 油管视频
- RULE-SET,Disney,🏰 Disney
- RULE-SET,Netflix,🎥 奈飞视频
- RULE-SET,Bahamut,📽️ 巴哈姆特
- RULE-SET,ProxyMedia,🌎 国外媒体
- RULE-SET,Category-games,🎮 游戏平台
- RULE-SET,Bilibili,📺 哔哩哔哩
- RULE-SET,ChinaMedia,🌏 国内媒体
- RULE-SET,Copilot,☣️ Copilot
- RULE-SET,Microsoft,Ⓜ️ 微软服务
- RULE-SET,Apple,🍎 苹果服务
- RULE-SET,Github,🐱 Github
- RULE-SET,CustomGFWlist,🚀 节点选择
- RULE-SET,ProxyGFWlist,🚀 节点选择
# - RULE-SET,Geolocation-!cn,🚀 节点选择
- RULE-SET,ChinaDomain,🎯 全球直连
# - RULE-SET,Geosite_cn,🎯 全球直连
# - RULE-SET,Geosite_private,🎯 全球直连
- RULE-SET,ChinaCompanyIp,🎯 全球直连,no-resolve
- RULE-SET,ChinaIp,🎯 全球直连,no-resolve
# - RULE-SET,Geoip_cn,🎯 全球直连,no-resolve
# - RULE-SET,Geoip_private,🎯 全球直连,no-resolve
- MATCH,🐟 漏网之鱼
rule-providers:
CustomGFWlist:
<<: *pc
url: "https://raw.githubusercontent.com/cnzgray/clash-profiles/master/CustomGFWlist.list"
format: text
ProxyGFWlist:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyGFWlist.list"
format: text
# Geolocation-!cn:
# <<: *pd
# url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/geolocation-!cn.yaml"
LocalAreaNetwork:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/LocalAreaNetwork.yaml"
Unban:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/UnBan.yaml"
DirectPT:
<<: *pc
url: "https://raw.githubusercontent.com/cnzgray/clash-profiles/master/DirectPT.list"
format: text
DirectCN:
<<: *pc
url: "https://raw.githubusercontent.com/cnzgray/clash-profiles/master/DirectCN.list"
format: text
# BanEasyListChina:
# <<: *pc
# url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/BanEasyListChina.yaml"
MyBanAD:
<<: *pc
url: "https://raw.githubusercontent.com/cnzgray/clash-profiles/master/BanAD.list"
format: text
BanAD:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/BanAD.yaml"
# BanEasyList:
# <<: *pc
# url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/BanEasyList.yaml"
# BanEasyPrivacy:
# <<: *pc
# url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/BanEasyPrivacy.yaml"
Telegram:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/Telegram.yaml"
Twitter:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/Twitter.yaml"
OpenAi:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/OpenAi.yaml"
YouTube:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/YouTube.yaml"
Netflix:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/Netflix.yaml"
Disney:
<<: *pc
url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Disney/Disney.yaml"
Bahamut:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/Bahamut.yaml"
ProxyMedia:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/ProxyMedia.yaml"
Category-games:
<<: *pd
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/category-games.yaml"
SteamCN:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/SteamCN.list"
format: text
Bilibili:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/Bilibili.yaml"
Download:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Download.yaml"
ChinaMedia:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/ChinaMedia.yaml"
GoogleFCM:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/GoogleFCM.yaml"
Microsoft:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/Microsoft.yaml"
Copilot:
<<: *pc
url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Copilot/Copilot_No_Resolve.yaml"
Apple:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/Apple.yaml"
Github:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/Github.yaml"
PrivateTracker:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/PrivateTracker.yaml"
MyPrivateTracker:
<<: *pc
url: "https://raw.githubusercontent.com/cnzgray/clash-profiles/master/ProxyPT.list"
format: text
ChinaDomain:
<<: *pc
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/ChinaDomain.yaml"
# Geosite_cn:
# <<: *pd
# url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/cn.yaml"
# Geosite_private:
# <<: *pd
# url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/private.yaml"
ChinaCompanyIp:
<<: *pi
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/ChinaCompanyIp.yaml"
ChinaIp:
<<: *pi
url: "https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/ChinaIp.yaml"
# Geoip_cn:
# <<: *pi
# url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/cn.yaml"
# Geoip_private:
# <<: *pi
# url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/private.yaml"
######################################################################
ipv6: false
allow-lan: true
mixed-port: 7893
redir-port: 7892
tproxy-port: 7895
port: 7890
socks-port: 7891
mode: rule
log-level: info
unified-delay: false
tcp-concurrent: true
external-controller: 0.0.0.0:9090
secret: '123456'
bind-address: "*"
authentication:
- Clash:zlmsaLgG
find-process-mode: strict
global-client-fingerprint: chrome
global-ua: clash-verge/v1.5.10
geodata-mode: true
geox-url:
geoip: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.dat"
geosite: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat"
mmdb: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country-lite.mmdb"
profile:
store-selected: true
store-fake-ip: true
tun:
enable: true
stack: mixed
dns-hijack:
- "any:53"
auto-route: true
auto-detect-interface: true
sniffer:
enable: true
sniff:
HTTP:
ports: [80, 8080-8880]
override-destination: true
TLS:
ports: [443, 8443]
QUIC:
ports: [443, 8443]
force-dns-mapping: true
parse-pure-ip: true
force-domain:
- "+.netflix.com"
- "+.nflxvideo.net"
- "+.amazonaws.com"
- "+.media.dssott.com"
skip-domain:
- "+.apple.com"
- "Mijia Cloud"
- "dlg.io.mi.com"
- "+.rc.sunlogin.net"
- "+.oray.com"
- "+.zshare.site"
dns:
enable: true
ipv6: false ###关闭IPV6 dns解析
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16
listen: 0.0.0.0:7874
nameserver:
- 119.29.29.29
- 223.5.5.5
default-nameserver:
- 223.5.5.5
proxy-server-nameserver:
- https://dns.alidns.com/dns-query
- https://dns.pub/dns-query
nameserver-policy:
'rule-set:PrivateTracker,MyPrivateTracker':
- 'https://dns.google/dns-query#📥 PT下载'
- 'https://dns.cloudflare.com/dns-query#📥 PT下载'
# 'rule-set:Bahamut':
# - 'https://dns.google/dns-query#📽️ 巴哈姆特'
# - 'https://dns.cloudflare.com/dns-query#📽️ 巴哈姆特'
# 'rule-set:Geolocation-!cn':
# - 'https://dns.google/dns-query#🚀 节点选择'
# - 'https://dns.cloudflare.com/dns-query#🚀 节点选择'
fake-ip-filter:
- "*.lan"
- "*.localdomain"
- "*.example"
- "*.invalid"
- "*.localhost"
- "*.test"
- "*.local"
- "*.home.arpa"
- time.*.com
- time.*.gov
- time.*.edu.cn
- time.*.apple.com
- time-ios.apple.com
- time1.*.com
- time2.*.com
- time3.*.com
- time4.*.com
- time5.*.com
- time6.*.com
- time7.*.com
- ntp.*.com
- ntp1.*.com
- ntp2.*.com
- ntp3.*.com
- ntp4.*.com
- ntp5.*.com
- ntp6.*.com
- ntp7.*.com
- "*.time.edu.cn"
- "*.ntp.org.cn"
- "+.pool.ntp.org"
- time1.cloud.tencent.com
- music.163.com
- "*.music.163.com"
- "*.126.net"
- musicapi.taihe.com
- music.taihe.com
- songsearch.kugou.com
- trackercdn.kugou.com
- "*.kuwo.cn"
- api-jooxtt.sanook.com
- api.joox.com
- joox.com
- y.qq.com
- "*.y.qq.com"
- streamoc.music.tc.qq.com
- mobileoc.music.tc.qq.com
- isure.stream.qqmusic.qq.com
- dl.stream.qqmusic.qq.com
- aqqmusic.tc.qq.com
- amobile.music.tc.qq.com
- "*.xiami.com"
- "*.music.migu.cn"
- music.migu.cn
- "+.msftconnecttest.com"
- "+.msftncsi.com"
- localhost.ptlogin2.qq.com
- localhost.sec.qq.com
- "+.qq.com"
- "+.tencent.com"
- "+.srv.nintendo.net"
- "*.n.n.srv.nintendo.net"
- "+.stun.playstation.net"
- xbox.*.*.microsoft.com
- "*.*.xboxlive.com"
- xbox.*.microsoft.com
- xnotify.xboxlive.com
- "+.battlenet.com.cn"
- "+.wotgame.cn"
- "+.wggames.cn"
- "+.wowsgame.cn"
- "+.wargaming.net"
- proxy.golang.org
- stun.*.*
- stun.*.*.*
- "+.stun.*.*"
- "+.stun.*.*.*"
- "+.stun.*.*.*.*"
- "+.stun.*.*.*.*.*"
- heartbeat.belkin.com
- "*.linksys.com"
- "*.linksyssmartwifi.com"
- "*.router.asus.com"
- mesu.apple.com
- swscan.apple.com
- swquery.apple.com
- swdownload.apple.com
- swcdn.apple.com
- swdist.apple.com
- lens.l.google.com
- stun.l.google.com
- na.b.g-tun.com
- "+.nflxvideo.net"
- "*.square-enix.com"
- "*.finalfantasyxiv.com"
- "*.ffxiv.com"
- "*.ff14.sdo.com"
- ff.dorado.sdo.com
- "*.mcdn.bilivideo.cn"
- "+.media.dssott.com"
- shark007.net
- Mijia Cloud
- "+.cmbchina.com"
- "+.cmbimg.com"
- local.adguard.org
- "+.sandai.net"
- "+.n0808.com"
- "+.zshare.site"