-
Notifications
You must be signed in to change notification settings - Fork 85
/
Common.conf
116 lines (106 loc) · 4.38 KB
/
Common.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
115
116
[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,*.apple.com
exclude-simple-hostnames = true
internet-test-url = http://taobao.com/
proxy-test-url = http://www.gstatic.com/generate_204
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 = true
ipv6-vif = auto
use-local-host-item-for-proxy = true
read-etc-hosts = false
geoip-maxmind-url = https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country.mmdb
all-hybrid = true
allow-hotspot-access = true
encrypted-dns-server = https://223.5.5.5/dns-query,https://1.1.1.1/dns-query
dns-server = 223.5.5.5, 114.114.114.114, system
[Replica]
hide-apple-request = 1
hide-crashlytics-request = true
hide-udp = 0
keyword-filter-type = none
hide-crash-reporter-request = 1
keyword-filter = (null)
[Ponte]
server-proxy-name = Warp+
client-proxy-name = Snell
[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=itunes.apple.com, version=4, reuse=true, tfo=true
[Proxy Group]
AdBlock = select, Ad-GIF, Ad-Block, Ad-Pass
Proxy = select, Auto, Scene, Speed, Warp+, no-alert=0, hidden=0
Scene = ssid, default = Auto, cellular = Speed, "SSIDNAME" = Auto
Auto = smart, Snell, Proxy01, Proxy02, Proxy03, Proxy04
#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,Warp+
Balance = load-balance, Proxy01,Proxy02,Proxy03,Proxy04, persistent=1
[Rule]
IP-CIDR,123.125.102.213/32,REJECT-DROP,pre-matching,no-resolve // 根据请求查看器抓取到的米家app IP 修改成自己的
DOMAIN,app.chat.xiaomi.net,REJECT-DROP,pre-matching
DEST-PORT,5222,REJECT-DROP,pre-matching
# 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,ocsp2.apple.com,Proxy
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,pepcn.com,DIRECT
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
# DOMAIN-SET
DOMAIN-SET,https://anti-ad.net/surge2.txt,AdBlock
DOMAIN-SET,https://raw.githubusercontent.com/scomper/surge-list/master/domain-set/chinese-filter.txt,AdBlock
# RULE-SET
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/openai.list,Proxy
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
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.hk 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