forked from scomper/Surge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
surgeNew.conf
107 lines (99 loc) · 4.57 KB
/
surgeNew.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
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
[General]
loglevel = notify
skip-proxy = 127.0.0.1, 192.168.0.0/16, 193.168.0.0/24, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10,localhost,*.local
#doh-server = https://223.6.6.6/dns-query
exclude-simple-hostnames = true
allow-wifi-access = true
external-controller-access = [email protected]:6170
always-real-ip = *.apple.com, *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com,*.msftncsi.com
test-timeout = 5
network-framework = false
tls-provider = default
force-http-engine-hosts = router.com, www.router.com
wifi-assist = true
hybrid = true
ipv6 = false
use-local-host-item-for-proxy = true
read-etc-hosts = false
dns-server = 223.5.5.5, 223.6.6.6, 114.114.114.114, 8.8.4.4
geoip-maxmind-url = https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country.mmdb
[Replica]
hide-apple-request = 1
hide-crashlytics-request = true
hide-udp = 0
keyword-filter-type = none
hide-crash-reporter-request = 1
keyword-filter = (null)
[Proxy]
Ad-Pass = direct
Ad-Block = reject
Ad-GIF = reject-tinygif
Proxy01 = https,adc-us.com,443,username = 用户名,password = 密码
Proxy02 = ss, abc-kt.com, 443, encrypt-method = rc4-md5, password = 密码
Proxy03 = socks5, abc-cn.com, 443, username = 用户名, password = 密码
Proxy04 = vmess, abc-cn.com, 443, username = 用户名, tfo=true
Snell = snell, abc-cn.com, 443, psk=密码, obfs=tls, obfs-host=github.com, version=2, tfo=true
[Proxy Group]
Proxy = select, Auto, Scene, Speed, Balance, Snell, no-alert=0, hidden=0
AdBlock = select, Ad-GIF, Ad-Block, Ad-Pass
Scene = ssid, default = Auto, cellular = Speed, "SSIDNAME" = Auto
Auto = fallback, Proxy01,Proxy02,Proxy03,Proxy04, timeout=0, interval=0
Games = url-test, Proxy04,timeout=0, interval=0, tolerance=0
Speed = url-test, Proxy01,Proxy02,Proxy03,Snell
Balance = load-balance, Proxy01,Proxy02,Proxy03,Proxy04, persistent=1
[Rule]
PROCESS-NAME,Surge,Proxy
# Apple
USER-AGENT,geod*,DIRECT
USER-AGENT,App%20Store*,DIRECT
USER-AGENT,MacAppStore*,DIRECT
USER-AGENT,FBiOSSDK*,REJECT
USER-AGENT,%E8%BD%AF%E4%BB%B6%E6%9B%B4%E6%96%B0*,DIRECT
DOMAIN,ocsp.apple.com,Proxy
DOMAIN,apps.apple.com,Proxy
DOMAIN,ip.bjango.com,Proxy
DOMAIN-SUFFIX,ampproject.org,Proxy
DOMAIN,reserve-prime.apple.com,DIRECT
DOMAIN-SUFFIX,scomper.me,DIRECT,notification-text="Welcome to scomper's blog."
DOMAIN-SUFFIX,access-sngapm.qcloud.com,AdBlock
AND,((PROCESS-NAME,Telegram), (OR,((IP-CIDR,0.0.0.0/8), (IP-CIDR,224.0.0.0/4)))),REJECT
# PS4 的IP,让游戏机走单独的代理,代理需要支持 UDP
# SRC-IP,10.0.1.206,Games
# DOMAIN-SET
DOMAIN-SET,https://anti-ad.net/surge2.txt,AdBlock
# DOMAIN-SET,https://raw.githubusercontent.com/scomper/surge-list/master/domain-set/adaway.txt,AdBlock
# DOMAIN-SET,https://raw.githubusercontent.com/scomper/surge-list/master/domain-set/annoyances-filter.txt,AdBlock
# DOMAIN-SET,https://raw.githubusercontent.com/scomper/surge-list/master/domain-set/base-filter.txt,AdBlock
# DOMAIN-SET,https://raw.githubusercontent.com/scomper/surge-list/master/domain-set/chinese-filter.txt,AdBlock
# DOMAIN-SET,https://raw.githubusercontent.com/scomper/surge-list/master/domain-set/neohosts.txt,AdBlock
# DOMAIN-SET,https://raw.githubusercontent.com/scomper/surge-list/master/domain-set/social-media-filter.txt,AdBlock
# DOMAIN-SET,https://raw.githubusercontent.com/scomper/surge-list/master/domain-set/tracking-protection-filter.txt,AdBlock
# RULE-SET
RULE-SET,SYSTEM,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,AdBlock
RULE-SET,https://github.com/scomper/surge-list/raw/master/reject.list,AdBlock
RULE-SET,https://github.com/scomper/surge-list/raw/master/cn.list,DIRECT
RULE-SET,https://github.com/scomper/surge-list/raw/master/video.list,Proxy
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
IP-CIDR6,2409::/16,DIRECT,no-resolve
RULE-SET,LAN,DIRECT
# GeoIP CN(https://github.com/Loyalsoldier/geoip)
GEOIP,CN,DIRECT
GEOIP,NETFLIX,Proxy
AND,((PROTOCOL,UDP), (DEST-PORT,443)),REJECT-NO-DROP
PROTOCOL,UDP,Proxy
FINAL,Proxy,dns-failed
[Host]
router.com = router
*.taobao.com = server:223.5.5.5
*.jd.com = server:223.5.5.5
*.aliyun.com = server:223.5.5.5
owner-api.vn.tesla.services = server:223.5.5.5
[URL Rewrite]
^https?:\/\/(www.)?(g|google)\.cn https://www.google.com 302
[Header Rewrite]
^https?://(www.)?zhihu.com/question/ header-replace User-Agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.45 Safari/537.36"
[SSID Setting]
"Apple Store" suspend=true