-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaut.conf
131 lines (123 loc) · 9.85 KB
/
defaut.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[General]
loglevel = notify
bypass-system = true
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,e.crashlytics.com,captive.apple.com,::ffff:0:0:0:0/1,::ffff:128:0:0:0/1
# DNS设置或根据自己网络情况进行相应设置
bypass-tun = 192.168.0.0/16,10.0.0.0/8,172.16.0.0/12
dns-server = 119.29.29.29,223.5.5.5
doh-server = https://dns.alidns.com/dns-query
allow-wifi-access = false
# Latency Benchmark
internet-test-url = http://bing.com
proxy-test-url = http://cp.cloudflare.com/generate_204
test-timeout = 5
geoip-maxmind-url = https://cdn.jsdelivr.net/gh/Hackl0us/GeoIP2-CN@release/Country.mmdb
# --- Wi-Fi ACCESS ---
wifi-access-http-port = 6152
# Surge iOS
wifi-access-socks5-port = 6153
http-listen = 0.0.0.0:6152
# Surge Mac
socks5-listen = 0.0.0.0:6153
allow-hotspot-access = true
# 允许热点共享
[Proxy Group]
Final = select, Proxy🪁, DIRECT
Proxy🪁 = select, 🇺🇸 America, 🇭🇰 Load balance, 🇸🇬 Singapore, 🇨🇳 Fallback, policy-path=https://sub.**/sub?target=surge&verrue&new_name=true
CN = select, DIRECT
# Home⛺️ = subnet, default = Proxy🪁, "SSID:value" = DIRECT, "TYPE:CELLULAR" = Proxy🪁
Netflix = select, 🇺🇸 America, 🇭🇰 Load balance, 🇸🇬 Singapore, 🇨🇳 Fallback
Twitter = select, 🇺🇸 America, Proxy🪁
Telegram = select, 🇭🇰 Load balance, 🇸🇬 Singapore, hybrid=off // hybrid=off 即使在 All Hybrid 或 WiFi Assist 开启时,有 WiFi 就不使用数据网络
Apple = select, DIRECT, Proxy🪁
AdBlock = select, REJECT, DIRECT
🇺🇸 America = url-test, include-other-group=Proxy🪁, policy-regex-filter=美国, interval=600, tolerance=100, evaluate-before-use=true, hidden=true
🇭🇰 Load balance = load-balance, include-other-group=Proxy🪁, policy-regex-filter=(香港|HK), interval=-1, tolerance=100, persistent=true, hidden=true
🇸🇬 Singapore = load-balance, include-other-group=Proxy🪁, policy-regex-filter=(新加坡|狮城), interval=-1, tolerance=100, persistent=1, hidden=1, no-alert=0, include-all-proxies=0
🇨🇳 Fallback = fallback, include-other-group=Proxy🪁, policy-regex-filter=台湾, timeout=3, interval=600, evaluate-before-use=true, hidden=true
🇯🇵 日本 = load-balance, policy-regex-filter=(日本|JP), no-alert=0, hidden=1, include-all-proxies=0, include-other-group=Proxy🪁, persistent=1
[Rule]
RULE-SET,https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Surge/ZhihuAds/ZhihuAds.list,REJECT
RULE-SET,https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Surge/Bing/Bing.list,Proxy🪁
RULE-SET,https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Surge/Spotify/Spotify.list,🇸🇬 Singapore
DOMAIN-SUFFIX,vercel.app,Proxy🪁
PROCESS-NAME,v2ray,DIRECT
PROCESS-NAME,clash,DIRECT
PROCESS-NAME,ss-local,DIRECT
PROCESS-NAME,privoxy,DIRECT
PROCESS-NAME,trojan,DIRECT
PROCESS-NAME,trojan-go,DIRECT
PROCESS-NAME,naive,DIRECT
PROCESS-NAME,Thunder,DIRECT
PROCESS-NAME,DownloadService,DIRECT
PROCESS-NAME,qBittorrent,DIRECT
PROCESS-NAME,Transmission,DIRECT
PROCESS-NAME,fdm,DIRECT
PROCESS-NAME,aria2c,DIRECT
PROCESS-NAME,Folx,DIRECT
PROCESS-NAME,NetTransport,DIRECT
PROCESS-NAME,uTorrent,DIRECT
PROCESS-NAME,WebTorrent,DIRECT
RULE-SET,https://raw.githubusercontent.com/Semporia/TikTok-Unlock/master/Surge/TikTok.list,Proxy🪁
DOMAIN-SET,https://anti-ad.net/surge2.txt,REJECT
DOMAIN-SET,https://cdn.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/private.txt,DIRECT
DOMAIN-SET,https://cdn.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/reject.txt,REJECT
RULE-SET,SYSTEM,DIRECT
DOMAIN-SET,https://cdn.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/tld-not-cn.txt,Proxy🪁
DOMAIN-SET,https://cdn.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/gfw.txt,Proxy🪁
DOMAIN-SET,https://cdn.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/greatfire.txt,Proxy🪁
RULE-SET,https://cdn.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/telegramcidr.txt,Proxy🪁
GEOIP,CN,DIRECT
FINAL,Final,dns-failed
[Host]
# Firebase Cloud Messaging
mtalk.google.com = 108.177.125.188
# Google Dl
dl.google.com = server:119.29.29.29
dl.l.google.com = server:119.29.29.29
update.googleapis.com = server:119.29.29.29
# Router Admin Panel
amplifi.lan = server:syslib // Ubiquiti Amplifi Router
router.synology.com = server:syslib // Synology Router
sila.razer.com = server:syslib // Razer Sila Router
router.asus.com = server:syslib // Asus Router
routerlogin.net = server:syslib // Netgear Router
orbilogin.com = server:syslib // Netgear Obri Router
www.LinksysSmartWiFi.com = server:syslib // Linksys Router
LinksysSmartWiFi.com = server:syslib // Linksys Router
myrouter.local = server:syslib // Linksys Router
www.miwifi.com = server:syslib // Xiaomi Mi WiFi Router
miwifi.com = server:syslib // Xiaomi Mi WiFi Router
mediarouter.home = server:syslib // Huawei Router
tplogin.cn = server:syslib // TP-Link Router
tplinklogin.net = server:syslib // TP-Link Router
melogin.cn = server:syslib // MERCURY Router
falogin.cn = server:syslib // FAST Router
[URL Rewrite]
# Redirect Google Search Service
^https?:\/\/(www.)?(g|google)\.cn https://www.google.com 302
# Redirect Google Maps Service
^https?:\/\/(ditu|maps).google\.cn https://maps.google.com 302
# Redirect HTTP to HTTPS
^https?:\/\/(www.)?taobao\.com\/ https://taobao.com/ 302
^https?:\/\/(www.)?jd\.com\/ https://www.jd.com/ 302
^https?:\/\/(www.)?mi\.com\/ https://www.mi.com/ 302
^https?:\/\/you\.163\.com\/ https://you.163.com/ 302
^https?:\/\/(www.)?suning\.com\/ https://suning.com/ 302
^https?:\/\/(www.)?yhd\.com\/ https://yhd.com/ 302
# AbeamTV
^https?:\/\/api\.abema\.io\/v\d\/ip\/check - reject
# CUSTOM URL header
[Header Rewrite]
^https?:\/\/.*\.zhihu\.com\/(question|topic) header-replace User-Agent "osee2unifiedRelease/4432 osee2unifiedReleaseVersion/7.8.0 Mozilla/5.0 (iPhone; CPU iPhone OS 14_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mo bile/15E148"
[MITM]
skip-server-cert-verify = true
hostname = -*amemv.com, -*snssdk.com, www.google.cn, www.firefox.com.cn, api.abema.io
ca-passphrase = 9F1C5430
ca-p12 = MIIKPAIBAzCCCgYGCSqGSIb3DQEHAaCCCfcEggnzMIIJ7zCCBF8GCSqGSIb3DQEHBqCCBFAwggRMAgEAMIIERQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIyj+YAg9edwsCAggAgIIEGLulcAozVn7pJFskMlsDAdWr1Go5hzctjjtkclP1mZn5U6a2XUeN9HDW3rYaeaaWBGlS+na897rf3vH9q2qSQW3ceRXG0f0H/AfrfiR1cVLeu59K7OH9EKTAcuLbuYcM9ofmjX8EbiCUN4++nRZiXbGYwuUfiH4pTLFq9pz/AdmseFH0mWnCd4SxzawFZL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clBvA7hjkcxe2MQhSwkZNtjo9YtA/GUhb8/KQ6BaczJA/TGc/x7SCt+NkPcbMZ/ZUKvzZFr2NsYlYoiU38DDZrTc2JQNxDrR8XR1lOfuwsNx8c1jGYDuwAvrUAB0cNBlVKl8lAOM1cAfL4GNqckeU/hBt+r5Y0j6TN5cdYSmTujkVj3wBNYF7h2pksuYhb4geDmjoVG7tQXYCEWK3OFD9b5cfQTwu2sgO9fc6iGpEJSTAue3vsEr5iJ75mtdS/UhgRRTgGq0uKEf1w7dcx2WlsIxkyuskqss17m7M4V879ZvoeBCe/0YURZNgeo+nT7D6K5O2rOM0lH+LhR/SvfspOue8bwJ2eqJ6f7whSsXEq0Ca8bgExO2EHgicCVw7OQOeBtIl+00N2pnc0uBt5gpMDAEaEvTxFwa42+hkr9sAhHTQsSDnkyhfpcnhLgs9mL6trRcOL+1q5zpVDtmLF29oRc2fEy761OgZw+JTEXkrlftDI+cTlTpjVmHTAVY2P5KYm6zcdO+e7jiJxOJZfXSfdtyROzj3dqWeG06db1vnQo688p5fhwOCo3H0YDkkbefFbf61RhopII5QNkn76EsivulKi/C2BedKK/G0BdYulOe5W4NRKJNoQF6FqiJ6qHfFogN9L+1HrvtWKWgvVDFQFI4RrxMa+e11skVXb9R+R+c+AVWfFkKwOVE1KKSil+APUc4Roqjgz5YeaU/FfvRGCq0Rs5t9m27G8UleveyvFmLetY5XWfZrqTEQLFSPd0C1jnfvSIwzkRVDl9Cwd1yDgZ4G6V/0VWEGLFll5WoNMDFsMCMGCSqGSIb3DQEJFTEWBBRWWhUj/owni/5pcmSUzUs3NpIoHTBFBgkqhkiG9w0BCRQxOB42AFMAdQByAGcAZQAgAEcAZQBuAGUAcgBhAHQAZQBkACAAQwBBACAAOQBGADEAQwA1ADQAMwAwMC0wITAJBgUrDgMCGgUABBS0lZ2/T8KvPBa/suqvVyBSZVVx+wQIrXWxKKVcD/s=
[Script]
# Flush DNS, show the DNS delay and server.
flushDNS = type=generic,timeout=10,script-path=https://raw.githubusercontent.com/zZPiglet/Task/master/asset/flushDNS.js,argument=icon=wand.and.stars.inverse&color=#3d3d5b
iQIYI.js = script-path=https://raw.githubusercontent.com/NobyDa/Script/master/iQIYI-DailyBonus/iQIYI.js,type=http-request,pattern=https?:\/\/.*\.iqiyi\.com\/.*authcookie=
[Panel]
flushDNS = script-name=flushDNS,update-interval=-1