Last active
July 24, 2024 13:35
-
-
Save wd/f1a4830cc0e6ae38cf84cdf1061017b7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[General] | |
dns-server = system, 8.8.8.8, 8.8.4.4, 9.9.9.9:9953 | |
doh-server = https://dns.google/dns-query | |
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, www.baidu.com //444 | |
proxy-test-url = http://www.gstatic.com/generate_204 | |
internet-test-url = http://www.gstatic.cn/generate_204 | |
test-timeout = 5 | |
always-real-ip = *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com | |
#http-listen = 0.0.0.0:1234 | |
#socks5-listen = 127.0.0.1:1235 | |
udp-policy-not-supported-behaviour = DIRECT | |
[Proxy] | |
a = trojan, xx | |
[Proxy Group] | |
Proxy = select, a | |
Ad = select, REJECT, DIRECT | |
[Rule] | |
# SUBNET,SSID:home,DIRECT | |
# RULE-SET | |
RULE-SET,SYSTEM,DIRECT | |
RULE-SET,LAN,DIRECT | |
GEOIP,CN,DIRECT | |
RULE-SET,https://cdn.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/ruleset/cncidr.txt,DIRECT | |
RULE-SET,https://cdn.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/ruleset/direct.txt,DIRECT | |
RULE-SET,https://github.com/scomper/surge-list/raw/master/cn.list,DIRECT | |
RULE-SET,https://github.com/scomper/surge-list/raw/master/apple.list,DIRECT | |
RULE-SET,https://github.com/scomper/surge-list/raw/master/adblock.list,Ad | |
RULE-SET,https://github.com/scomper/surge-list/raw/master/reject.list,Ad | |
DOMAIN-SET,https://raw.githubusercontent.com/scomper/surge-list/master/domain-set/chinese-filter.txt,Ad | |
DOMAIN-SET,https://anti-ad.net/surge2.txt,Ad | |
RULE-SET,https://github.com/scomper/surge-list/raw/master/blocked.list,Proxy | |
RULE-SET,https://github.com/scomper/surge-list/raw/master/telegram.list,Proxy | |
# Final | |
FINAL,Proxy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment