forked from scomper/surge-list
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsurge.conf
62 lines (54 loc) · 2.25 KB
/
surge.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
# Forked from Scomper's Gist
[General]
# warning, notify, info, verbose
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
ipv6 = true
exclude-simple-hostnames = true
allow-wifi-access = true
dns-server = 101.6.6.6, 223.5.5.5, 119.29.29.29, 114.114.114.114, 2001:da8::666
http-listen = 0.0.0.0:8888
socks5-listen = 0.0.0.0:8889
[Proxy]
US = https,adc-us.com,443,username=username,password=123456
KT = ss, abc-kt.com, 443, encrypt-method=rc4-md5, password=123456
[Proxy Group]
Proxy = select, Auto, HK , KT, US
Scene = ssid, default = Auto, cellular = KT
Auto = fallback, policy-path = groupAuto.list, url = http://www.bing.com/
HK = select, policy-path = groupHK.list
[Rule]
USER-AGENT,App%20Store*,DIRECT
USER-AGENT,MacAppStore*,DIRECT
USER-AGENT,%E8%BD%AF%E4%BB%B6%E6%9B%B4%E6%96%B0*,DIRECT
URL-REGEX,^https?://www\.duokan\.com/pictures?,REJECT
URL-REGEX,^https?://www\.duokan\.com/promotion_day,REJECT
DOMAIN,reserve-prime.apple.com,DIRECT
DOMAIN,guzzoni.apple.com,DIRECT
DOMAIN-SUFFIX,cdn-apple.com,DIRECT
# Rulesets
RULE-SET,SYSTEM,DIRECT
RULE-SET,https://github.com/scomper/surge-list/raw/master/apple.list,Proxy
RULE-SET,https://github.com/scomper/surge-list/raw/master/adblock.list,REJECT
RULE-SET,https://github.com/scomper/surge-list/raw/master/reject.list,REJECT-TINYGIF
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
RULE-SET,https://github.com/allenloong/surge-list/raw/master/research.list,DIRECT
RULE-SET,LAN,DIRECT
# GeoIP CN
GEOIP,CN,DIRECT
FINAL,Proxy,dns-failed
[Host]
*.taobao.com = server:223.5.5.5
*.jd.com = server:223.5.5.5
*.tmall.com = server:223.5.5.5
[URL Rewrite]
^http://www\.google\.cn http://www.google.com header
[Header Rewrite]
^http://www\.biquge\.com\.tw header-del Cookie
^https?://www\.zhihu\.com header-replace User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1 Safari/605.1.15
[SSID Setting]
"Apple Store" suspend=true
"Allen's iPhone" cellular-mode=true