-
Notifications
You must be signed in to change notification settings - Fork 1
/
custom.clash.yaml
225 lines (209 loc) · 5.87 KB
/
custom.clash.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
external-controller: 127.0.0.1:6666
bind-address: '*'
mixed-port: 8888
allow-lan: true
log-level: info
mode: rule
ipv6: true
dns:
enable: true
ipv6: true
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16
nameserver:
- 223.5.5.5
- 119.29.29.29
fake-ip-filter:
- '*.lan'
- '*.localdomain'
- '*.example'
- '*.invalid'
- '*.localhost'
- '*.test'
- '*.local'
- '*.home.arpa'
- 'time.*.com'
- 'time.*.gov'
- 'time.*.edu.cn'
- 'time.*.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'
- 'msftconnecttest.com'
- 'msftncsi.com'
- 'localhost.ptlogin2.qq.com'
- 'localhost.sec.qq.com'
- '+.srv.nintendo.net'
- '+.stun.playstation.net'
- '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.*.*.*.*'
- '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'
- '+.nflxvideo.net'
- '*.square-enix.com'
- '*.finalfantasyxiv.com'
- '*.ffxiv.com'
- '*.mcdn.bilivideo.cn'
tun:
enable: true
stack: system
dns-hijack:
- any:53
- tcp://any:53
auto-route: true
auto-detect-interface: true
proxies:
proxy-groups:
- { name: "🐱 $app_name", type: select, proxies: ["👍 最优节点"] }
- { name: "👍 最优节点", type: url-test, proxies: [], url: "http://www.qualcomm.cn/generate_204", interval: 300, tolerance: 25, lazy: true }
- { name: "♻️ 故障转移", type: fallback, proxies: [], url: "http://www.qualcomm.cn/generate_204", interval: 60, lazy: true }
rule-providers:
💾 常见软件:
type: http
behavior: classical
url: "https://cdn.staticaly.com/gh/Loyalsoldier/clash-rules@release/applications.txt"
path: ./providers/rules/applications.yaml
interval: 86400
🖥️ 私有网络:
type: http
behavior: domain
url: "https://cdn.staticaly.com/gh/Loyalsoldier/clash-rules@release/private.txt"
path: ./providers/rules/private.yaml
interval: 86400
🚫 广告拦截:
type: http
behavior: domain
url: "https://cdn.staticaly.com/gh/Loyalsoldier/clash-rules@release/reject.txt"
path: ./providers/rules/reject.yaml
interval: 86400
🍏 苹果云盘:
type: http
behavior: domain
url: "https://cdn.staticaly.com/gh/Loyalsoldier/clash-rules@release/icloud.txt"
path: ./providers/rules/icloud.yaml
interval: 86400
🍎 苹果中国:
type: http
behavior: domain
url: "https://cdn.staticaly.com/gh/Loyalsoldier/clash-rules@release/apple.txt"
path: ./providers/rules/apple.yaml
interval: 86400
🔍 谷歌中国:
type: http
behavior: domain
url: "https://cdn.staticaly.com/gh/Loyalsoldier/clash-rules@release/google.txt"
path: ./providers/rules/google.yaml
interval: 86400
🏴☠️ 国外域名:
type: http
behavior: domain
url: "https://cdn.staticaly.com/gh/Loyalsoldier/clash-rules@release/proxy.txt"
path: ./providers/rules/proxy.yaml
interval: 86400
🇨🇳 国内域名:
type: http
behavior: domain
url: "https://cdn.staticaly.com/gh/Loyalsoldier/clash-rules@release/direct.txt"
path: ./providers/rules/direct.yaml
interval: 86400
💻 内部网络:
type: http
behavior: ipcidr
url: "https://cdn.staticaly.com/gh/Loyalsoldier/clash-rules@release/lancidr.txt"
path: ./providers/rules/lancidr.yaml
interval: 86400
🇨🇳 国内地址:
type: http
behavior: ipcidr
url: "https://cdn.staticaly.com/gh/Loyalsoldier/clash-rules@release/cncidr.txt"
path: ./providers/rules/cncidr.yaml
interval: 86400
📲 电报通讯:
type: http
behavior: ipcidr
url: "https://cdn.staticaly.com/gh/Loyalsoldier/clash-rules@release/telegramcidr.txt"
path: ./providers/rules/telegramcidr.yaml
interval: 86400
rules:
- RULE-SET,💾 常见软件,DIRECT
- DOMAIN-SUFFIX,dqb.pw,DIRECT
- DOMAIN-SUFFIX,tcat.cc,DIRECT
- DOMAIN-SUFFIX,tcat.vip,DIRECT
- DOMAIN-SUFFIX,moecat.pw,DIRECT
- DOMAIN,clash.razord.top,DIRECT
- DOMAIN,yacd.haishan.me,DIRECT
- RULE-SET,🖥️ 私有网络,DIRECT
- RULE-SET,🚫 广告拦截,REJECT
- RULE-SET,🍏 苹果云盘,DIRECT
- RULE-SET,🍎 苹果中国,DIRECT
- RULE-SET,🔍 谷歌中国,DIRECT
- RULE-SET,🏴☠️ 国外域名,🐱 $app_name
- RULE-SET,🇨🇳 国内域名,DIRECT
- RULE-SET,💻 内部网络,DIRECT
- RULE-SET,🇨🇳 国内地址,DIRECT
- RULE-SET,📲 电报通讯,🐱 $app_name
- GEOIP,PRIVATE,DIRECT,no-resolve
- GEOIP,LAN,DIRECT,no-resolve
- GEOIP,CN,DIRECT,no-resolve
- MATCH,🐱 $app_name