-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yaml
75 lines (75 loc) · 1.7 KB
/
config.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
mode: rule
mixed-port: 7890
allow-lan: false
log-level: info
secret: ""
external-controller: 127.0.0.1:9090
dns:
enable: true
ipv6: false
nameserver:
- 114.114.114.114
- 223.5.5.5
- 8.8.8.8
proxy-groups:
- name: Proxy
type: select
proxies:
- Auto
- Fallback
use:
- sub
- name: Auto
type: url-test
url: http://www.google.com
interval: 30
use:
- sub
- name: Fallback
type: fallback
url: http://www.google.com
interval: 30
use:
- sub
proxy-providers:
sub:
type: http
url: https://sub.xeton.dev/sub?target=clash&list=true&url=订阅
path: sub.yaml
interval: 1800
health-check:
enable: true
url: http://www.google.com
interval: 30
rules:
- RULE-SET,Lan,DIRECT
- RULE-SET,Advertising,REJECT
- RULE-SET,Proxy,Proxy
- RULE-SET,SteamCN,DIRECT
- GEOIP,CN,DIRECT
- MATCH,Proxy
rule-providers:
Lan:
behavior: classical
type: http
url: https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/Lan/Lan.yaml
interval: 86400
path: Lan.yaml
Advertising:
behavior: classical
type: http
url: https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/Advertising/Advertising_Classical.yaml
interval: 86400
path: Advertising.yaml
Proxy:
behavior: classical
type: http
url: https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/Proxy/Proxy_Classical.yaml
interval: 86400
path: Proxy.yaml
SteamCN:
behavior: classical
type: http
url: https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Clash/SteamCN/SteamCN.yaml
interval: 86400
path: SteamCN.yaml