Surge Dashboard 截图
除 [Proxy Group]
以外的配置文件如下:
[General]
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.1, localhost, *.local
exclude-simple-hostnames = true
internet-test-url = http://www.baidu.com/
proxy-test-url = http://www.google.com/generate_204/
test-timeout = 3
dns-server = 223.5.5.5, 119.29.29.29, 1.1.1.1, 8.8.8.8, system
wifi-assist = true
allow-hotspot-access = true
[Rule]
# Reject
DOMAIN-SET,https://anti-ad.net/surge2.txt,🚥 拦截 // anti-AD > 去广告
DOMAIN-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Advertising/Advertising_Domain.list,🚥 拦截 // BM7 > 去广告
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Advertising/Advertising.list,🚥 拦截 // BM7 > 去广告
DOMAIN-SET,https://raw.githubusercontent.com/mieqq/mieqq/master/In-AppTracker.txt,🚥 拦截 // mieqq > 应用内防追踪
IP-CIDR,0.0.0.0/32,🚥 拦截,no-resolve // 防止应用循环请求
# Special
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/OpenAI/OpenAI.list,🚏 OpenAI // BM7 > OpenAI
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Netflix/Netflix.list,🚏 Netflix // BM7 > Netflix
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Disney/Disney.list,🚏 Disney // BM7 > Disney
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Spotify/Spotify.list,🚏 Spotify // BM7 > Spotify
DOMAIN-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Apple/Apple_Domain.list,🚏 Apple // BM7 > Apple
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Apple/Apple.list,🚏 Apple // BM7 > Apple
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/OneDrive/OneDrive.list,🚏 OneDrive // BM7 > OneDrive
# Scene
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/BiliBili/BiliBili.list,🏡 公司 // BM7 > BiliBili
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/NetEaseMusic/NetEaseMusic.list,🏡 公司 // BM7 > 网易云音乐
# Direct
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/WeChat/WeChat.list,🚥 直连 // BM7 > 微信
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Lan/Lan.list,🚥 直连 // BM7 > 本地局域网
DOMAIN-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMax/ChinaMax_Domain.list,🚥 直连 // BM7 > ChinaMax
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMax/ChinaMax.list,🚥 直连 // BM7 > ChinaMax
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/SteamCN/SteamCN.list,🚥 直连 // BM7 > SteamCN
# Proxy
DOMAIN-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Global/Global_Domain.list,🚥 代理 // BM7 > Global
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Global/Global.list,🚥 代理 // BM7 > Global
DOMAIN-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GlobalMedia/GlobalMedia_Domain.list,🚥 代理 // BM7 > GlobalMedia
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GlobalMedia/GlobalMedia.list,🚥 代理 // BM7 > GlobalMedia
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GitHub/GitHub.list,🚥 代理 // BM7 > GitHub
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Telegram/Telegram.list,🚥 代理 // BM7 > Telegram
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/PayPal/PayPal.list,🚥 代理 // BM7 > PayPal
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Steam/Steam.list,🚥 代理 // BM7 > Steam
DOMAIN-SUFFIX,socloud.me,🚥 代理 // SoCloud 机场
DOMAIN-SUFFIX,qlyun.xyz,🚥 代理 // CoolCloud 机场
# Trigger DNS parse
GEOIP,CN,🚥 直连 // GEOIP > CN
RULE-SET,LAN,🚥 直连 // 局域网
# Final
FINAL,🚥 漏网之鱼,dns-failed
[Host]
*.miwifi.com = server:syslib // 小米路由器
[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
[MITM]
h2 = true
hostname = www.google.cn
ca-passphrase = ...
ca-p12 = ...
请问我这是哪里出了问题?