-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_sample.yml
156 lines (138 loc) · 3.94 KB
/
config_sample.yml
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
header: './config/header.yml' # header file path
final: FINAL # final MATCH rule
sub: # clash subscriptions
- https://xxxxx
- https://yyyyy
proxy: # single proxies
- name: proxy1
type: vmess
server: xxxx
port: 1111
uuid: uuid
alterId: x
cipher: auto
udp: true
- name: proxy2
type: vmess
server: xxxx
port: 1111
uuid: uuid
alterId: x
cipher: auto
udp: true
rule: # rule providers
- name: PROXY
prior: 0 # smaller number means higher priority, rules with same priority will be listed randomly
url:
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/ProxyGFWlist.yaml
extra: # single record
- 'DOMAIN-SUFFIX,xxxx.com'
- name: Lite
prior: 1
url:
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/ProxyLite.yaml
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/Developer.yaml
- name: Apple
prior: 1
url:
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/Apple.yaml
- name: Bahamut
prior: 1
url:
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/Bahamut.yaml
- name: Steam-CN
prior: 1
url:
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/SteamCN.yaml
- name: BLOCK
prior: 0
url:
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/BanAD.yaml
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/BanProgramAD.yaml
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/BanEasyListChina.yaml
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/BanEasyList.yaml
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Clash/RuleSet/Guard/Hijacking.yaml
- name: CHINA
prior: 2
url:
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/ChinaIp.yaml
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/ChinaDomain.yaml
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/ChinaCompanyIp.yaml
record:
- 'GEOIP,CN'
- name: LOCAL
prior: 0
url:
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Providers/LocalAreaNetwork.yaml
groups: #proxy groups
- name: PROXY
keywords:
type: select
subgroup: [hk, sg, us, jp, tw, DIRECT, REJECT]
- name: Lite
keywords:
type: select
subgroup: [hk, sg, us, jp, tw, DIRECT, REJECT]
- name: Apple
keywords:
type: select
subgroup: [hk, sg, us, jp, tw, DIRECT, REJECT]
- name: Bahamut
keywords:
type: select
subgroup: [tw, DIRECT, REJECT]
- name: Steam-CN
keywords:
type: select
subgroup: [DIRECT, hk, sg, us, jp, tw, REJECT]
- name: BLOCK
keywords:
type: select
subgroup: [REJECT, DIRECT]
- name: CHINA
keywords:
type: select
subgroup: [DIRECT, REJECT]
- name: FINAL
keywords:
type: select
subgroup: [PROXY, DIRECT, REJECT]
- name: LOCAL
keywords:
type: select
subgroup: [DIRECT, REJECT]
- name: hk
keywords: # and
- 香港 hk HK # or
type: urltest
url: 'http://www.gstatic.com/generate_204'
interval: 300
subgroup: []
- name: us
keywords:
- 美国 us US
type: urltest
url: 'http://www.gstatic.com/generate_204'
interval: 300
subgroup: []
- name: jp
keywords:
- 日本 jp JP
type: urltest
url: 'http://www.gstatic.com/generate_204'
interval: 300
subgroup: []
- name: tw
keywords:
- 台湾 tw TW
type: urltest
url: 'http://www.gstatic.com/generate_204'
interval: 300
subgroup: []
- name: sg
keywords:
- 新加坡 sg SG
type: urltest
url: 'http://www.gstatic.com/generate_204'
interval: 300
subgroup: []