forked from xinggsf/Adblock-Plus-Rule
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
154 lines (154 loc) · 5.23 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
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
# 不必用clash for windows! 单clash.exe即可! 定位配置目录为clash.exe所在目录~创建快捷方式:clash.exe -d "."
# 同目录下还必须有二个文件:只包含中国IP信息GEOIP文件Country.mmdb ;proxys.yml(代理)
# port: 7890
socks-port: 7891
allow-lan: false
mode: Rule
log-level: info
# external-controller: 127.0.0.1:9090
tun:
enable: false
stack: system # or gvisor
# dns-hijack:
# - 8.8.8.8:53
# - tcp://8.8.8.8:53
auto-route: true # auto set global route
auto-detect-interface: true # conflict with interface-name
dns:
enabled: true
nameserver:
- 202.101.226.69
# 提供 fallback 时,如果GEOIP非 CN 中国时使用 fallback 解析
fallback:
- tls://8.8.4.4:853 # cloudflare DNS over TLS
# - tls://8.8.8.8:853 # Google DNS over TLS
# - tls://1.0.0.1:853
# - tls://dns.google:853
- https://1.1.1.1/dns-query # cloudflare DNS over HTTPS
- https://dns.google/dns-query # Google DNS over HTTPS
# - tls://dns.rubyfish.cn:853 # DNS over TLS
proxies:
- {name: jp_protocolbuffer, server: 45.64.22.55, port: 443, type: trojan, password: KLF0qOU0ZZGw5Tnu, sni: swift.protocolbuffer.com}
proxy-providers:
learnhard:
type: http
url: https://raw.iqiq.io/learnhard-cn/free_proxy_ss/main/clash/clash.provider.yaml
interval: 900
path: learnhard.yaml
health-check:
enable: true
interval: 600
lazy: true
url: http://www.gstatic.com/generate_204
subp:
type: file
path: proxys.yml
health-check:
enable: true
interval: 500
url: http://www.gstatic.com/generate_204
proxy-groups:
- name: UQUICK
type: load-balance # select url-test fallback
proxies:
- jp_protocolbuffer
use:
- subp
url: http://www.gstatic.com/generate_204
interval: 90
strategy: round-robin # consistent-hashing
- name: UDOWNLOAD
type: fallback
proxies:
- DIRECT
- UQUICK
url: http://www.gstatic.com/generate_204
interval: 330
rules:
- DOMAIN,hm.baidu.com,REJECT
- PROCESS-NAME,IDMan.exe,UDOWNLOAD
- DOMAIN-SUFFIX,onion,DIRECT
- DOMAIN-SUFFIX,fastgit.org,DIRECT
- DOMAIN-SUFFIX,cf,DIRECT
- DOMAIN-SUFFIX,akamaized.net,DIRECT
- DOMAIN-SUFFIX,t.me,UQUICK
- DOMAIN-SUFFIX,w3schools.com,UQUICK
- DOMAIN-KEYWORD,.reddit,UQUICK
- DOMAIN-SUFFIX,aiosearch.com,UQUICK
- DOMAIN-SUFFIX,ask.com,UQUICK
- DOMAIN-SUFFIX,startpage.com,UQUICK
- DOMAIN-SUFFIX,facebook.com,UQUICK
- DOMAIN-SUFFIX,twitter.com,UQUICK
- DOMAIN-SUFFIX,twimg.com,UQUICK
- DOMAIN-SUFFIX,nytimes.com,UQUICK
- DOMAIN-SUFFIX,voachinese.com,UQUICK
- DOMAIN-SUFFIX,voanews.com,UQUICK
- DOMAIN-SUFFIX,ftchinese.com,UQUICK
- DOMAIN-SUFFIX,ft.com,UQUICK
- DOMAIN-SUFFIX,archive.org,UQUICK
- DOMAIN-SUFFIX,wikiwand.com,UQUICK
- DOMAIN-SUFFIX,wikipedia.org,UQUICK
- DOMAIN-SUFFIX,godoc.org,UQUICK
- DOMAIN-SUFFIX,go-zh.org,UQUICK
- DOMAIN-SUFFIX,golang.org,UQUICK
- DOMAIN-KEYWORD,.blogger,UQUICK
- DOMAIN-KEYWORD,.blogspot,UQUICK
- DOMAIN-SUFFIX,appspot.com,UQUICK
- DOMAIN-SUFFIX,chrome.com,UQUICK
- DOMAIN-SUFFIX,duckduckgo.com,UQUICK
- DOMAIN-SUFFIX,v2ex.com,UQUICK
- DOMAIN-SUFFIX,gitlab-static.net,UQUICK
- DOMAIN-SUFFIX,gitcdn.xyz,UQUICK
- DOMAIN-KEYWORD,github,UQUICK
- DOMAIN-SUFFIX,git.io,UQUICK
- DOMAIN-SUFFIX,gitbooks.io,UQUICK
- DOMAIN-SUFFIX,rawgit.com,UQUICK
# github git推送地址
- IP-CIDR,20.205.243.166/24,UQUICK,no-resolve
- IP-CIDR,23.211.15.99/32,UQUICK,no-resolve
- IP-CIDR,23.246.0.0/18,UQUICK,no-resolve
- IP-CIDR,34.210.42.111/32,UQUICK,no-resolve
- IP-CIDR,37.77.184.0/21,UQUICK,no-resolve
- IP-CIDR,45.57.0.0/17,UQUICK,no-resolve
- IP-CIDR,52.89.124.203/32,UQUICK,no-resolve
- IP-CIDR,54.148.37.5/32,UQUICK,no-resolve
- IP-CIDR,64.120.128.0/17,UQUICK,no-resolve
- IP-CIDR,66.197.128.0/17,UQUICK,no-resolve
- IP-CIDR,103.5.34.153/32,UQUICK,no-resolve
- IP-CIDR,108.175.32.0/20,UQUICK,no-resolve
- IP-CIDR,104.109.129.153/32,UQUICK,no-resolve
- IP-CIDR,110.238.107.47/32,UQUICK,no-resolve
- IP-CIDR,118.26.32.178/32,UQUICK,no-resolve
- IP-CIDR,150.109.28.51/32,UQUICK,no-resolve
- IP-CIDR,192.173.64.0/18,UQUICK,no-resolve
- IP-CIDR,198.38.96.0/19,UQUICK,no-resolve
- IP-CIDR,198.45.48.0/20,UQUICK,no-resolve
- IP-CIDR,203.74.95.131/32,UQUICK,no-resolve
- IP-CIDR,203.74.95.139/32,UQUICK,no-resolve
- IP-CIDR,203.211.4.169/32,UQUICK,no-resolve
- IP-CIDR,203.211.4.193/32,UQUICK,no-resolve
- IP-CIDR,210.201.32.8/32,UQUICK,no-resolve
- IP-CIDR,210.201.32.11/32,UQUICK,no-resolve
- DOMAIN-SUFFIX,twitch.tv,UQUICK
- DOMAIN-SUFFIX,ttvnw.net,UQUICK
- DOMAIN-SUFFIX,ted.com,UQUICK
- DOMAIN-SUFFIX,tedcdn.com,UQUICK
- DOMAIN-SUFFIX,youtube.com,UQUICK
- DOMAIN-SUFFIX,addons.mozilla.org,UQUICK
- DOMAIN-SUFFIX,gstatic.com,UQUICK
- DOMAIN-SUFFIX,ytimg.com,UQUICK
- DOMAIN-SUFFIX,ggpht.com,UQUICK
- DOMAIN-SUFFIX,cn,DIRECT
- DOMAIN-KEYWORD,.google,UQUICK
- IP-CIDR,1.255.62.0/24,DIRECT
- IP-CIDR,182.254.116.0/24,DIRECT
- IP-CIDR,185.188.32.0/24,DIRECT
- IP-CIDR,185.188.33.0/24,DIRECT
- IP-CIDR,185.188.34.0/24,DIRECT
- IP-CIDR,185.188.35.0/24,DIRECT
- IP-CIDR6,2a0b:b580::/48,DIRECT
- IP-CIDR6,2a0b:b581::/48,DIRECT
- IP-CIDR6,2a0b:b582::/48,DIRECT
- IP-CIDR6,2a0b:b583::/48,DIRECT
- GEOIP,CN,DIRECT
- MATCH,UDOWNLOAD