-
Notifications
You must be signed in to change notification settings - Fork 0
/
mihomo_based_on_proxy_servers.yaml
328 lines (304 loc) · 10.7 KB
/
mihomo_based_on_proxy_servers.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
proxy-providers:
airport_01:
type: http
url: ""
interval: 1800
header:
User-Agent:
- "Clash/v1.18.0"
- "mihomo/1.18.3"
health-check:
enable: true
url: https://www.gstatic.com/generate_204
interval: 300
timeout: 5000
expected-status: 204
proxy: 🟢 直连
airport_02:
type: http
url: ""
interval: 1800
header:
User-Agent:
- "Clash/v1.18.0"
- "mihomo/1.18.3"
health-check:
enable: true
url: https://www.gstatic.com/generate_204
interval: 300
timeout: 5000
expected-status: 204
proxy: 🟢 直连
unified-delay: true
tcp-concurrent: true
global-client-fingerprint: chrome
sniffer:
enable: true
sniff:
HTTP:
ports: [80, 8080-8880]
override-destination: true
TLS:
ports: [443, 8443]
QUIC:
ports: [443, 8443]
proxies:
- name: "🚫 拒绝"
type: reject
- name: "🟢 直连"
type: direct
udp: true
airport_01_proxy_group: &airport_01_proxy_group
type: select
proxies:
- 🟢 直连
- 🚫 拒绝
- ✌️ airport_01常用
- 🌐 airport_01其它
- ♻️ airport_01自动选择
- 🍉 airport_02常用
- ⚾ airport_02其它
airport_02_proxy_group: &airport_02_proxy_group
type: select
proxies:
- 🟢 直连
- 🚫 拒绝
- 🍉 airport_02常用
- ⚾ airport_02其它
- ♻️ airport_02自动选择
- ✌️ airport_01常用
- 🌐 airport_01其它
proxy-groups:
- name: 🈷️ airport_02出口
<<: *airport_02_proxy_group
- name: 🐈⬛ airport_01出口
<<: *airport_01_proxy_group
- name: 🐟 兜底出口
type: select
proxies: [🟢 直连, 🚫 拒绝, 🈷️ airport_02出口, 🐈⬛ airport_01出口]
- name: 🎯 直连出口
type: select
proxies: [🟢 直连, 🚫 拒绝, 🈷️ airport_02出口, 🐈⬛ airport_01出口]
- name: ✌️ airport_01常用
type: select
use:
- airport_01
filter: "(?i)港|🇭🇰|hk|hongkong|hong kong|新|🇸🇬|sg|singapore|美|🇺🇸|us|unitedstates|united states"
- name: 🌐 airport_01其它
type: select
use:
- airport_01
exclude-filter: "(?i)港|🇭🇰|hk|hongkong|hong kong|新|🇸🇬|sg|singapore|美|🇺🇸|us|unitedstates|united states"
- name: 🍉 airport_02常用
type: select
use:
- airport_02
filter: "(?i)港|🇭🇰|hk|hongkong|hong kong|新|🇸🇬|sg|singapore|美|🇺🇸|us|unitedstates|united states"
- name: ⚾ airport_02其它
type: select
use:
- airport_02
exclude-filter: "(?i)港|🇭🇰|hk|hongkong|hong kong|新|🇸🇬|sg|singapore|美|🇺🇸|us|unitedstates|united states"
- name: ♻️ airport_01自动选择
type: url-test
tolerance: 20
interval: 300
use:
- airport_01
hidden: true
filter: "^((?!(直连)).)*$"
- name: ♻️ airport_02自动选择
type: url-test
tolerance: 20
interval: 300
use:
- airport_02
hidden: true
filter: "^((?!(直连)).)*$"
rules:
- RULE-SET,private,🟢 直连
- RULE-SET,private_ip,🟢 直连,no-resolve
- RULE-SET,my-direct,🎯 直连出口
- RULE-SET,AD_AD,🚫 拒绝
- RULE-SET,AD_EasyList,🚫 拒绝
- RULE-SET,AD_EasyPrivacy,🚫 拒绝
- RULE-SET,AD_Anti-ad,🚫 拒绝
- RULE-SET,github,🐈⬛ airport_01出口
- RULE-SET,telegram,🐈⬛ airport_01出口
- RULE-SET,telegram_ip,🐈⬛ airport_01出口,no-resolve
- RULE-SET,paypal,🐈⬛ airport_01出口
- RULE-SET,ai_ip,🐈⬛ airport_01出口,no-resolve
- RULE-SET,ai,🐈⬛ airport_01出口
- RULE-SET,bing,🐈⬛ airport_01出口
- RULE-SET,twitter,🐈⬛ airport_01出口
- RULE-SET,twitter_ip,🐈⬛ airport_01出口,no-resolve
- RULE-SET,x,🐈⬛ airport_01出口
- RULE-SET,onedrive,🐈⬛ airport_01出口
- RULE-SET,tiktok,🐈⬛ airport_01出口
- RULE-SET,instagram,🐈⬛ airport_01出口
- RULE-SET,discord,🐈⬛ airport_01出口
- RULE-SET,twitch,🐈⬛ airport_01出口
- RULE-SET,amazon,🐈⬛ airport_01出口
- RULE-SET,amazon@cn,🐈⬛ airport_01出口
- RULE-SET,amazontrust,🐈⬛ airport_01出口
- RULE-SET,google,🈷️ airport_02出口
- RULE-SET,google@cn,🈷️ airport_02出口
- RULE-SET,googlefcm,🈷️ airport_02出口
- RULE-SET,google-play,🈷️ airport_02出口
- RULE-SET,google-play@cn,🈷️ airport_02出口
- RULE-SET,google-trust-services,🈷️ airport_02出口
- RULE-SET,google_ip,🈷️ airport_02出口,no-resolve
- RULE-SET,youtube,🈷️ airport_02出口
- RULE-SET,proxylite,🈷️ airport_02出口
- RULE-SET,microsoft@cn,🎯 直连出口
- RULE-SET,direct_list,🎯 直连出口
- RULE-SET,apple@cn,🎯 直连出口
- RULE-SET,apple-cn,🎯 直连出口
- RULE-SET,cn,🎯 直连出口
- RULE-SET,cn_ip,🎯 直连出口,no-resolve
- MATCH,🐟 兜底出口
rule-universal-definition:
universal-config: &universal
type: http
interval: 86400
domain: &domain
<<: *universal
behavior: domain
format: mrs
ipcidr: &ipcidr
<<: *universal
behavior: ipcidr
format: mrs
classical: &classical
<<: *universal
behavior: classical
format: text
yaml: &yaml
<<: *universal
behavior: domain
format: yaml
rule-providers:
# airport_01机场规则
github:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/github.mrs"
telegram:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/telegram.mrs"
telegram_ip:
<<: *ipcidr
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geoip/telegram.mrs"
paypal:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/paypal.mrs"
ai_ip:
<<: *ipcidr
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geoip/ai.mrs"
ai:
<<: *classical
url: "https://raw.githubusercontent.com/qichiyuhub/rule/refs/heads/master/AI.list"
twitter:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/twitter.mrs"
twitter_ip:
<<: *ipcidr
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geoip/twitter.mrs"
x:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/x.mrs"
bing:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/bing.mrs"
onedrive:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/onedrive.mrs"
tiktok:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/tiktok.mrs"
instagram:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/instagram.mrs"
discord:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/discord.mrs"
twitch:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/twitch.mrs"
amazon:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/amazon.mrs"
amazon@cn:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/[email protected]"
amazontrust:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/amazontrust.mrs"
# airport_02机场规则
proxylite:
<<: *classical
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo-lite/geosite/proxy.list"
google:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/google.mrs"
google@cn:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/[email protected]"
googlefcm:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/googlefcm.mrs"
google-play:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/google-play.mrs"
google-trust-services:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/google-trust-services.mrs"
google-play@cn:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/[email protected]"
google_ip:
<<: *ipcidr
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geoip/google.mrs"
youtube:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/youtube.mrs"
# 直连规则
private:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/private.mrs"
private_ip:
<<: *ipcidr
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geoip/private.mrs"
direct_list:
<<: *classical
url: "https://raw.githubusercontent.com/qichiyuhub/rule/refs/heads/master/Direct.list"
microsoft@cn:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/[email protected]"
apple@cn:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/[email protected]"
apple-cn:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/apple-cn.mrs"
cn:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geosite/cn.mrs"
cn_ip:
<<: *ipcidr
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/refs/heads/meta/geo/geoip/cn.mrs"
my-direct:
<<: *yaml
url: "https://gist.githubusercontent.com/thisIsIan-W/5c16fd22f340b0dffe7c096718a4b4ff/raw/mihomo-direct.yaml"
# 广告规则
AD_AD:
<<: *yaml
url: "https://raw.githubusercontent.com/earoftoast/clash-rules/main/AD.yaml"
AD_EasyList:
<<: *yaml
url: "https://raw.githubusercontent.com/earoftoast/clash-rules/main/EasyList.yaml"
AD_Anti-ad:
<<: *yaml
url: "https://anti-ad.net/clash.yaml"
AD_EasyPrivacy:
<<: *yaml
url: "https://raw.githubusercontent.com/earoftoast/clash-rules/main/EasyPrivacy.yaml"