forked from xiangsanliu/Rules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
domain-direct.conf
27 lines (20 loc) · 1.15 KB
/
domain-direct.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
[General]
bypass-system = true
dns-server = system, 119.29.29.29, 223.5.5.5, 223.6.6.6
skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, *.crashlytics.com, *.edu.cn
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
[Rule]
# Netease Music Unblock
RULE-SET,https://cdn.jsdelivr.net/gh/xiangsanliu/Rules/snippet/netease.txt,网易云音乐
# Custom
DOMAIN-SUFFIX,githubusercontent.com,Proxy
# AD
DOMAIN-SET,https://anti-ad.net/surge2.txt,REJECT
# Proxy
DOMAIN-SET,https://cdn.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/tld-not-cn.txt,PROXY,force-remote-dns
DOMAIN-SET,https://cdn.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/gfw.txt,PROXY,force-remote-dns
DOMAIN-SET,https://cdn.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/greatfire.txt,PROXY,force-remote-dns
RULE-SET,https://cdn.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/telegramcidr.txt,PROXY
FINAL,DIRECT
[URL Rewrite]
^http://(www.)?google.cn https://www.google.com 302