-
Notifications
You must be signed in to change notification settings - Fork 0
/
Shadowrocket.conf
39 lines (36 loc) · 3.74 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
28
29
30
31
32
33
34
35
36
37
38
39
[General]
bypass-system = true
tun-excluded-routes = 0.0.0.0/8, 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/3, ::/127, fc00::/7, fe80::/10, ff00::/8
skip-proxy = localhost, *.local, injections.adguard.org, local.adguard.org, captive.apple.com, guzzoni.apple.com, 0.0.0.0/8, 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/3, ::/127, fc00::/7, fe80::/10, ff00::/8
dns-server = system
fallback-dns-server = system
ipv6 = true
prefer-ipv6 = false
dns-direct-system = true
icmp-auto-reply = true
always-reject-url-rewrite = true
private-ip-answer = true
dns-direct-fallback-proxy = true
always-real-ip = .lan, *.localdomain, *.example, *.invalid, *.localhost, *.test, *.local, *.home.arpa, time.*.com, time.*.gov, time.*.edu.cn, time.*.apple.com, time-ios.apple.com, time1.*.com, time2.*.com, time3.*.com, time4.*.com, time5.*.com, time6.*.com, time7.*.com, ntp.*.com, ntp1.*.com, ntp2.*.com, ntp3.*.com, ntp4.*.com, ntp5.*.com, ntp6.*.com, ntp7.*.com, *.time.edu.cn, *.ntp.org.cn, +.pool.ntp.org, time1.cloud.tencent.com, music.163.com, *.music.163.com, *.126.net, musicapi.taihe.com, music.taihe.com, songsearch.kugou.com, trackercdn.kugou.com, *.kuwo.cn, api-jooxtt.sanook.com, api.joox.com, joox.com, y.qq.com, *.y.qq.com, streamoc.music.tc.qq.com, mobileoc.music.tc.qq.com, isure.stream.qqmusic.qq.com, dl.stream.qqmusic.qq.com, aqqmusic.tc.qq.com, amobile.music.tc.qq.com, *.xiami.com, *.music.migu.cn, music.migu.cn, +.msftconnecttest.com, +.msftncsi.com, localhost.ptlogin2.qq.com, localhost.sec.qq.com, +.qq.com, +.tencent.com, +.srv.nintendo.net, *.n.n.srv.nintendo.net, +.stun.playstation.net, xbox.*.*.microsoft.com, *.*.xboxlive.com, xbox.*.microsoft.com, xnotify.xboxlive.com, +.battlenet.com.cn, +.wotgame.cn, +.wggames.cn, +.wowsgame.cn, +.wargaming.net, proxy.golang.org, stun.*.*, stun.*.*.*, +.stun.*.*, +.stun.*.*.*, +.stun.*.*.*.*, +.stun.*.*.*.*.*, heartbeat.belkin.com, *.linksys.com, *.linksyssmartwifi.com, *.router.asus.com, mesu.apple.com, swscan.apple.com, swquery.apple.com, swdownload.apple.com, swcdn.apple.com, swdist.apple.com, lens.l.google.com, stun.l.google.com, na.b.g-tun.com, +.nflxvideo.net, *.square-enix.com, *.finalfantasyxiv.com, *.ffxiv.com, *.ff14.sdo.com, ff.dorado.sdo.com, *.mcdn.bilivideo.cn, +.media.dssott.com, shark007.net, Mijia Cloud, +.cmbchina.com, +.cmbimg.com, local.adguard.org, +.sandai.net, +.n0808.com, services.googleapis.cn
hijack-dns = 1.1.1.1:53, 1.0.0.1:53, 8.8.8.8:53, 8.8.4.4:53, 208.67.220.220:53, 208.67.222.222:53, 1.2.4.8:53, 223.5.5.5:53, 180.184.1.1:53, 180.76.76.76:53, 119.29.29.29:53, 114.114.114.114:53
stun-response-ip = 108.162.198.198
stun-response-ipv6 = 2a06:98c0:8888:8888:8888:8888:8888:8888
udp-policy-not-supported-behaviour = DIRECT
[Rule]
DOMAIN-SUFFIX,moex.in,DIRECT
DOMAIN-SUFFIX,plex.tv,DIRECT
DOMAIN,mypikpak.com,PROXY
DOMAIN,access.mypikpak.com,PROXY
DOMAIN-SUFFIX,mypikpak.com,DIRECT
DOMAIN-SUFFIX,jdbstatic.com,DIRECT
DOMAIN-SET,https://fastly.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/private.txt,DIRECT
DOMAIN-SET,https://fastly.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/reject.txt,REJECT
RULE-SET,https://fastly.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/telegramcidr.txt,PROXY
DOMAIN-SET,https://fastly.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/tld-not-cn.txt,PROXY
DOMAIN-SET,https://fastly.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/proxy.txt,PROXY
FINAL,DIRECT
[Host]
localhost = 127.0.0.1
[URL Rewrite]
^https?://(www.)?g.cn https://www.google.com 302
^https?://(www.)?google.cn https://www.google.com 302