-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.yaml.example
More file actions
257 lines (222 loc) · 5.09 KB
/
Copy pathconfig.yaml.example
File metadata and controls
257 lines (222 loc) · 5.09 KB
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
#Clash Meta 模板
#时间:2023.4.18
#只需要在145行开始填入机场订阅链接即可,如果有更多机场自行添加
#如果修改了名字记得把其他地方的名字也一并修改
#Tips:请自行修改地区策略组的正则过滤
#参考:
#香港:(?i)港|hk|hongkong|kong kong|🇭🇰
#台湾:(?i)台|tw|taiwan
#日本:(?i)日本|jp|japan|🇯🇵
#美国:(?i)美|us|unitedstates|united states|🇺🇸
#新加坡: (?i)^(?!.*(?:us)).*(新|sg|singapore|🇸🇬
# 端口设置
mixed-port: 7890
tproxy-port: 7891
# Clash.Meta 设置
unified-delay: false
geodata-mode: true
tcp-concurrent: false
find-process-mode: off
global-client-fingerprint: chrome
geox-url:
mmdb: "https://ghproxy.wushidi.gay/https://github.com/kogekiplay/geoip/releases/download/latest/Country.mmdb"
geoip: "https://ghproxy.wushidi.gay/https://github.com/kogekiplay/clash-rules-dat/releases/download/latest/geoip.dat"
geosite: "https://ghproxy.wushidi.gay/https://github.com/kogekiplay/clash-rules-dat/releases/download/latest/geosite-lite.dat"
# Meta 域名嗅探
sniffer:
enable: false
sniff:
TLS:
ports: [443, 8443]
HTTP:
ports: [80, 8080-8880]
override-destination: true
skip-domain:
- 'Mijia Cloud'
- 'dlg.io.mi.com'
- '+.apple.com'
# - '*.baidu.com'
force-domain:
# - '+'
- 'google.com'
# Host
hosts:
'time.android.com': 203.107.6.88
'time.facebook.com': 203.107.6.88
# Tun Mode
tun:
enable: true
stack: system
dns-hijack:
- '0.0.0.0:53'
auto-route: true
auto-detect-interface: true
# Clash 设置
allow-lan: true
mode: rule
log-level: info
ipv6: true
udp: true
external-controller: 0.0.0.0:9090
external-ui: ../dashboard
secret: ""
# 存储选择记录
profile:
store-selected: true
store-fake-ip: true
# dns设置
dns:
enable: true
listen: 0.0.0.0:1053
use-hosts: true
ipv6: true
enhanced-mode: fake-ip
fake-ip-range: 28.0.0.1/8
fake-ip-filter:
- '*'
- '+.lan'
default-nameserver:
- 223.5.5.5
nameserver:
- 'tls://8.8.4.4#🔬 Dns Proxy'
- 'tls://1.0.0.1#🔬 Dns Proxy'
proxy-server-nameserver:
- tls://223.5.5.5
nameserver-policy:
"geosite:cn,lan":
- tls://223.5.5.5
- tls://1.12.12.12
proxies:
#锚点
p: &p
type: http
interval: 43200
health-check:
enable: true
url: http://cp.cloudflare.com/
interval: 600
#改下面代理提供商的名字的话,这里面的名字也需要一并修改
u: &u
type: select
use:
- Nexitally
- Other
- 自建
- WARP
- BESTVPN
nex: &nex
type: url-test
use:
- Nexitally
- BESTVPN
url: "https://cp.cloudflare.com/"
interval: 600
pr: &pr
type: select
proxies:
- 🏳️⚧️ Proxy
- 🇭🇰 Hong Kong
- 🇨🇳 Taiwan
- 🇯🇵 Japan
- 🇸🇬 Singapore
- 🇺🇸 United States
- 🫧 Global Region
- 🪄 Select
- 🪢 Direct
- 🧬 Reject
proxy-providers:
Nexitally:
<<: *p
url: ""
path: ./proxy_providers/1.yaml
Other:
<<: *p
url: ""
path: ./proxy_providers/2.yaml
自建:
<<: *p
url: ""
path: ./proxy_providers/3.yaml
WARP:
<<: *p
url: ""
path: ./proxy_providers/4.yaml
BESTVPN:
<<: *p
url: ""
path: ./proxy_providers/5.yaml
proxy-groups:
- name: 🏳️⚧️ Proxy
type: select
proxies:
- ✨ Auto
- 🇭🇰 Hong Kong
- 🇨🇳 Taiwan
- 🇯🇵 Japan
- 🇸🇬 Singapore
- 🇺🇸 United States
- 🫧 Global Region
- 🪄 Select
- 🪢 Direct
#社交
- name: 💭 Chat
<<: *pr
#流媒体
- name: 🏙️ Stream
<<: *pr
#Dns过代理
- name: 🔬 Dns Proxy
<<: *pr
#分隔,下面是地区分组
- name: ✨ Auto
filter: "🇭🇰|🇨🇳|🇯🇵"
<<: *nex
- name: 🇭🇰 Hong Kong
filter: "🇭🇰|香港"
<<: *nex
- name: 🇨🇳 Taiwan
filter: "🇨🇳|台湾"
<<: *nex
- name: 🇯🇵 Japan
filter: "🇯🇵|日本"
<<: *nex
- name: 🇺🇸 United States
filter: "🇺🇸|美国"
<<: *nex
- name: 🇸🇬 Singapore
filter: "🇸🇬|新加坡"
<<: *nex
- name: 🫧 Global Region
filter: "^(?!.*(?:🇭🇰|🇨🇳|🇯🇵|🇺🇸|🇸🇬|香港|台湾|日本|美国|新加坡)).*"
<<: *u
- name: 🪄 Select
<<: *u
# 加上emoji
- name: 🪢 Direct
type: select
proxies:
- DIRECT
- name: 🧬 Reject
type: select
proxies:
- REJECT
rules:
- GEOSITE,telegram,💭 Chat
- GEOSITE,discord,💭 Chat
- GEOSITE,youtube,🏙️ Stream
- GEOSITE,netflix,🏙️ Stream
- GEOSITE,bahamut,🏙️ Stream
- GEOSITE,bing,🏳️⚧️ Proxy
- GEOSITE,kogeki-!cn,🏳️⚧️ Proxy
- GEOIP,youtube,🏙️ Stream
- GEOIP,netflix,🏙️ Stream
- GEOIP,telegram,💭 Chat
- GEOSITE,proxy,🏳️⚧️ Proxy
- GEOSITE,onedrive,DIRECT
- GEOSITE,steamcn,DIRECT
- GEOSITE,kogeki-cn,DIRECT
- GEOSITE,lan,DIRECT
- GEOIP,private,DIRECT,no-resolve
- GEOSITE,cn,DIRECT
- GEOIP,CN,DIRECT
- MATCH,🏳️⚧️ Proxy