-
Notifications
You must be signed in to change notification settings - Fork 2
/
shadowrocket.conf
27 lines (23 loc) · 1.1 KB
/
shadowrocket.conf
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
# AUTHOR: Dmitry Lisin
# REPO: https://github.com/dlisin/shadowrocket-config
[General]
bypass-system = true
skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, localhost, *.local, captive.apple.com
bypass-tun = 10.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.0.0/24, 192.0.2.0/24, 192.88.99.0/24, 192.168.0.0/16, 198.18.0.0/15, 198.51.100.0/24, 203.0.113.0/24, 224.0.0.0/4, 255.255.255.255/32
dns-server = system, 1.1.1.1, 8.8.8.8
fallback-dns-server = system
private-ip-answer = true
ipv6 = true
prefer-ipv6 = false
update-url = https://raw.githubusercontent.com/dlisin/shadowrocket-config/master/shadowrocket.conf
[Rule]
RULE-SET,https://raw.githubusercontent.com/dlisin/shadowrocket-config/master/direct.list,DIRECT
RULE-SET,https://raw.githubusercontent.com/dlisin/shadowrocket-config/master/proxy.list,PROXY
RULE-SET,https://raw.githubusercontent.com/dlisin/shadowrocket-config/master/reject.list,REJECT
GEOIP,RU,DIRECT
FINAL,DIRECT
[Host]
localhost = 127.0.0.1
[URL Rewrite]
^http://(www.)?yandex.ru https://www.ya.ru 302
^https?://(www.)?google.ru https://www.google.com 302