-
Notifications
You must be signed in to change notification settings - Fork 0
/
mihomo.yaml
301 lines (260 loc) · 7.43 KB
/
mihomo.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
# 为保护私人节点信息,此处不提供完整配置文件,仅提供部分配置示例
# 请根据自己的实际情况修改配置文件
p: &p
proxies:
- DIRECT
- ♻️ 自动选择
- 🇹🇼 台湾
- 🇯🇵 日本
- 🇭🇰 香港
- 🇺🇸 美国
- 🇸🇬 新加坡
- 🌏 其他地区
- REJECT
proxy-providers:
provider1:
type: file
path: ./proxy_providers/provider1.yaml
health-check:
enable: true
url: https://www.gstatic.com/generate_204
interval: 300
provider2:
type: http
behavior: domain
url: your_url
path: ./proxy_providers/provider2.yaml
health-check:
enable: true
url: https://www.gstatic.com/generate_204
interval: 300
proxy-groups:
- name: "🚀 手动切换"
type: select
url: "http://www.gstatic.com/generate_204"
interval: 300
<<: *p
- name: "♻️ 自动选择"
type: url-test
url: "http://www.gstatic.com/generate_204"
interval: 300
proxies:
- 🇹🇼 台湾
- 🇯🇵 日本
- 🇭🇰 香港
- 🇺🇸 美国
- 🇸🇬 新加坡
- 🌏 其他地区
- name: "🇹🇼 台湾"
type: select
use:
- provider1
filter: "(?i)台|tw|taiwan"
interval: 300
- name: "🇯🇵 日本"
type: select
use:
- provider1
filter: "(?i)日|jp|japan"
interval: 300
- name: "🇭🇰 香港"
type: select
use:
- provider1
filter: "(?i)港|hk|hongkong|hong kong"
interval: 300
- name: "🇺🇸 美国"
type: select
use:
- provider1
filter: "(?i)美|us|usa|united states|america"
interval: 300
- name: "🇸🇬 新加坡"
type: select
use:
- provider1
filter: "(?i)新|sg|singapore"
interval: 300
- name: "🌏 其他地区"
type: select
use:
- provider1
filter: "^(?!.*(?i)(台|tw|taiwan|日|jp|japan|港|hk|hongkong|hong kong|美|us|usa|united states|america|新|sg|singapore)).*$"
interval: 300
- name: "🎮️ 游戏平台"
type: select
<<: *p
interval: 300
- name: "开发环境"
type: select
<<: *p
interval: 300
- name: "🎮️⬇️ 游戏下载"
type: select
<<: *p
interval: 300
- name: "🤖 ChatGPT"
type: select
<<: *p
interval: 300
- name: "🍎 苹果服务"
type: select
<<: *p
interval: 300
- name: "TikTok"
type: select
<<: *p
interval: 300
- name: "📲 电报信息"
type: select
<<: *p
interval: 300
- name: "🐟 漏网之鱼"
type: select
<<: *p
interval: 300
- name: "直连"
type: select
<<: *p
interval: 300
- name: "广告"
type: select
<<: *p
interval: 300
rule-providers:
AD:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/earoftoast/clash-rules/main/AD.yaml"
path: ./rules_providers/AD.yaml
interval: 86400
EasyList:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/earoftoast/clash-rules/main/EasyList.yaml"
path: ./rules_providers/EasyList.yaml
interval: 86400
EasyListChina:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/earoftoast/clash-rules/main/EasyListChina.yaml"
path: ./rules_providers/EasyListChina.yaml
interval: 86400
EasyPrivacy:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/earoftoast/clash-rules/main/EasyPrivacy.yaml"
path: ./rules_providers/EasyPrivacy.yaml
interval: 86400
ProgramAD:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/earoftoast/clash-rules/main/ProgramAD.yaml"
path: ./rules_providers/ProgramAD.yaml
interval: 86400
ChinaIp:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/cncidr.txt"
path: ./rules_providers/ChinaIp.yaml
interval: 86400
AppleChina:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/apple.txt"
path: ./rules_providers/AppleChina.yaml
interval: 86400
AppleGlobal:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/icloud.txt"
path: ./rules_providers/AppleGlobal.yaml
interval: 86400
Lancidr:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/lancidr.txt"
path: ./rules_providers/Lancidr.yaml
interval: 86400
ChinaApp:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/applications.txt"
path: ./rules_providers/ChinaApp.yaml
interval: 86400
Telegramcidr:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/telegramcidr.txt"
pah: ./rules_providers/Telegramcidr.yaml
interval: 86400
DefaultProxy:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/proxy.txt"
path: ./rules_providers/DefaultProxy.yaml
interval: 86400
DefaultDirect:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/direct.txt"
path: ./rules_providers/DefaultDirect.yaml
interval: 86400
SteamProxy:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/yuki-sakura-chan/sakura-rules/main/rules_providers/Steam.yaml"
path: ./rules_providers/Steam.yaml
interval: 86400
SteamDownloadProxy:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/yuki-sakura-chan/sakura-rules/main/rules_providers/SteamDownload.yaml"
path: ./rules_providers/SteamDownload.yaml
interval: 86400
ChatGPTProxy:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/yuki-sakura-chan/sakura-rules/main/rules_providers/ChatGPT.yaml"
path: ./rules_providers/ChatGPT.yaml
interval: 86400
SteamCNProxy:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/yuki-sakura-chan/sakura-rules/main/rules_providers/SteamCN.yaml"
path: ./rules_providers/SteamCN.yaml
interval: 86400
TikTokProxy:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/yuki-sakura-chan/sakura-rules/main/rules_providers/TikTok.yaml"
path: ./rules_providers/TikTok.yaml
interval: 86400
DevelopProxy:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/yuki-sakura-chan/sakura-rules/main/rules_providers/Develop.yaml"
path: ./rules_providers/Develop.yaml
interval: 86400
rules:
- RULE-SET,AD,广告
- RULE-SET,EasyList,广告
- RULE-SET,EasyListChina,广告
- RULE-SET,EasyPrivacy,广告
- RULE-SET,ProgramAD,广告
- RULE-SET,DevelopProxy,开发环境
- RULE-SET,TikTokProxy,TikTok
- RULE-SET,ChatGPTProxy,🤖 ChatGPT
- RULE-SET,SteamProxy,🎮️ 游戏平台
- RULE-SET,SteamDownloadProxy,🎮️⬇️ 游戏下载
- RULE-SET,SteamCNProxy,🎮️ 游戏平台
- RULE-SET,AppleGlobal,🍎 苹果服务
- RULE-SET,Telegramcidr,📲 电报信息
- RULE-SET,DefaultProxy,🚀 手动切换
- RULE-SET,ChinaIp,直连,no-resolve
- RULE-SET,AppleChina,直连
- RULE-SET,Lancidr,直连
- RULE-SET,ChinaApp,直连
- RULE-SET,DefaultDirect,直连
- GEOIP,CN,直连,no-resolve
- MATCH,🐟 漏网之鱼