-
Notifications
You must be signed in to change notification settings - Fork 1
/
Surge.conf
112 lines (108 loc) · 10 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
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
[General]
# > 日志级别
loglevel = notify
show-error-page-for-reject = true
# > 增强版 Wi-Fi 助理
allow-wifi-access = false
# > All Hybrid 网络并发
all-hybrid = false
# > IPv6 支持(默认关闭)
ipv6 = false
# > 测试超时(秒)
test-timeout = 5
# > Internet 测试 URL
internet-test-url = http://www.aliyun.com
# > 代理测速 URL
proxy-test-url = http://www.gstatic.com/generate_204
# > GeoIP数据库
geoip-maxmind-url = https://github.com/Hackl0us/GeoIP2-CN/raw/release/Country.mmdb
# > 排除简单主机名
exclude-simple-hostnames = true
# > DNS 服务器
dns-server = 223.5.5.5, 119.29.29.29
hijack-dns = 8.8.8.8:53, 8.8.4.4:53
# > 从 /etc/hosts 读取 DNS 记录
read-etc-hosts = true
# > 远程控制器
http-api-web-dashboard = false
use-default-policy-if-wifi-not-primary = false
# > 跳过代理
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, 17.0.0.0/8, localhost, *.local, *.crashlytics.com
# Surge VIF
tun-excluded-routes = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
tun-included-routes = 192.168.1.12/32
# > Always Real IP Hosts
always-real-ip = *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com*.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, *.battlenet.com.cn, *.battlenet.com, *.blzstatic.cn, *.battle.net
[Replica]
# > 隐藏 Apple 请求
hide-apple-request = false
# > 隐藏崩溃追踪器请求
hide-crash-reporter-request = true
# > 隐藏 UDP 会话
hide-udp = false
# > 关键词过滤器
keyword-filter-type = false
[Proxy]
🌐 全球直连 = direct
# >自行添加节点信息
(只是个例子,并非可用节点)🇭🇰 Premium Hong Kong 01 = ss, 1.2.3.4, 2333, encrypt-method=aes-128-gcm, password=nexitally, udp-relay=true, tfo=true
[Proxy Group]
✈️ 节点选择 = select, 🇭🇰 Nexitally香港节点, 🇺🇲 Nexitally美国节点, 🇸🇬 Nexitally新加坡节点, 🇭🇰 Blinkload香港节点, 🇺🇲 Blinkload美国节点, 🇸🇬 Blinkload新加坡节点, 🚀 手动选择
🚀 手动选择 = select, 🇭🇰 Premium Hong Kong 01, 🇭🇰 Premium Hong Kong 02, 🇭🇰 Premium Hong Kong 03, 🇭🇰 Hong Kong 01 | Media, 🇭🇰 Hong Kong 02 | Media, 🇭🇰 Hong Kong 03 | Media, 🇺🇸 Premium USA San Jose 01, 🇺🇸 Premium USA San Jose 02, 🇺🇸 Premium USA San Jose 03, 🇺🇸 United States 01 | Media, 🇺🇸 United States 02 | Media, 🇺🇸 United States 03 | Media, 🇸🇬 Premium Singapore 01, 🇸🇬 Premium Singapore 02, 🇸🇬 Premium Singapore 03, 🇸🇬 Singapore 01 | Media, 🇸🇬 Singapore 02 | Media, 🇸🇬 Singapore 03 | Media
📲 电报信息 = select, ✈️ 节点选择, 🇭🇰 Nexitally香港节点, 🇺🇲 Nexitally美国节点, 🇸🇬 Nexitally新加坡节点, 🇭🇰 Blinkload香港节点, 🇺🇲 Blinkload美国节点, 🇸🇬 Blinkload新加坡节点
🎥 奈飞视频 = select, 🚀 手动选择, 🇭🇰 Nexitally香港节点, 🇺🇲 Nexitally美国节点, 🇸🇬 Nexitally新加坡节点, 🇭🇰 Blinkload香港节点, 🇺🇲 Blinkload美国节点, 🇸🇬 Blinkload新加坡节点
🎬 迪士尼+ = select, 🚀 手动选择, 🇭🇰 Nexitally香港节点, 🇺🇲 Nexitally美国节点, 🇸🇬 Nexitally新加坡节点, 🇭🇰 Blinkload香港节点, 🇺🇲 Blinkload美国节点, 🇸🇬 Blinkload新加坡节点
📹 油管视频 = select, 🚀 手动选择, 🇭🇰 Nexitally香港节点, 🇺🇲 Nexitally美国节点, 🇸🇬 Nexitally新加坡节点, 🇭🇰 Blinkload香港节点, 🇺🇲 Blinkload美国节点, 🇸🇬 Blinkload新加坡节点
📽 哔哩哔哩 = select, 🌐 全球直连, 🇭🇰 Nexitally香港节点, 🇭🇰 Blinkload香港节点
🍿 国外媒体 = select, ✈️ 节点选择, 🇭🇰 Nexitally香港节点, 🇺🇲 Nexitally美国节点, 🇸🇬 Nexitally新加坡节点, 🇭🇰 Blinkload香港节点, 🇺🇲 Blinkload美国节点, 🇸🇬 Blinkload新加坡节点
🍔 国内媒体 = select, 🌐 全球直连, 🇭🇰 Nexitally香港节点, 🇺🇲 Nexitally美国节点, 🇸🇬 Nexitally新加坡节点, 🇭🇰 Blinkload香港节点, 🇺🇲 Blinkload美国节点, 🇸🇬 Blinkload新加坡节点
🍟 新浪微博 = select, 🌐 全球直连, ✈️ 节点选择, 🇭🇰 Nexitally香港节点, 🇺🇲 Nexitally美国节点, 🇸🇬 Nexitally新加坡节点, 🇭🇰 Blinkload香港节点, 🇺🇲 Blinkload美国节点, 🇸🇬 Blinkload新加坡节点
🍕 谷歌服务 = select, ✈️ 节点选择, 🇭🇰 Nexitally香港节点, 🇺🇲 Nexitally美国节点, 🇸🇬 Nexitally新加坡节点, 🇭🇰 Blinkload香港节点, 🇺🇲 Blinkload美国节点, 🇸🇬 Blinkload新加坡节点
Ⓜ️ 微软服务 = select, 🌐 全球直连, ✈️ 节点选择, 🇭🇰 Nexitally香港节点, 🇺🇲 Nexitally美国节点, 🇸🇬 Nexitally新加坡节点, 🇭🇰 Blinkload香港节点, 🇺🇲 Blinkload美国节点, 🇸🇬 Blinkload新加坡节点
🍎 苹果服务 = select, 🌐 全球直连, ✈️ 节点选择, 🇭🇰 Nexitally香港节点, 🇺🇲 Nexitally美国节点, 🇸🇬 Nexitally新加坡节点, 🇭🇰 Blinkload香港节点, 🇺🇲 Blinkload美国节点, 🇸🇬 Blinkload新加坡节点
🎮 游戏平台 = select, 🌐 全球直连, ✈️ 节点选择, 🇭🇰 Nexitally香港节点, 🇺🇲 Nexitally美国节点, 🇸🇬 Nexitally新加坡节点, 🇭🇰 Blinkload香港节点, 🇺🇲 Blinkload美国节点, 🇸🇬 Blinkload新加坡节点
🐟 漏网之鱼 = select, 🌐 全球直连, ✈️ 节点选择
# > 外部节点
🇭🇰 Nexitally香港节点(名字随便,记得上面的也要改一下) = fallback, policy-path=(删掉括号并粘贴你机场的订阅链接到这里,有node list就用node list), update-interval=0, policy-regex-filter=🇭🇰
🇺🇲 Nexitally美国节点(名字随便,记得上面的也要改一下) = fallback, policy-path=(删掉括号并粘贴你机场的订阅链接到这里,有node list就用node list), update-interval=0, policy-regex-filter=🇺🇸
🇸🇬 Nexitally新加坡节点(名字随便,记得上面的也要改一下) = fallback, policy-path=(删掉括号并粘贴你机场的订阅链接到这里,有node list就用node list), update-interval=0, policy-regex-filter=🇸🇬
🇭🇰 Blinkload香港节点(名字随便,记得上面的也要改一下) = fallback, policy-path=(删掉括号并粘贴你机场的订阅链接到这里,有node list就用node list), update-interval=0, policy-regex-filter=🇭🇰
🇺🇲 Blinkload美国节点(名字随便,记得上面的也要改一下) = fallback, policy-path=(删掉括号并粘贴你机场的订阅链接到这里,有node list就用node list), update-interval=0, policy-regex-filter=🇺🇸
🇸🇬 Blinkload新加坡节点 (名字随便,记得上面的也要改一下) = fallback, policy-path=(删掉括号并粘贴你机场的订阅链接到这里,有node list就用node list), update-interval=0, policy-regex-filter=🇸🇬
[Rule]
# > 本地/局域网地址
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Lan/Lan.list,🌐 全球直连
# > 微软服务
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Microsoft/Microsoft.list,Ⓜ️ 微软服务
# > 苹果服务
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Apple/Apple.list,🍎 苹果服务
# > 社交平台
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Telegram/Telegram.list,📲 电报信息
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Weibo/Weibo.list,🍟 新浪微博
# > 游戏平台
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Epic/Epic.list,🎮 游戏平台
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Sony/Sony.list,🎮 游戏平台
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Steam/Steam.list,🎮 游戏平台
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Nintendo/Nintendo.list,🎮 游戏平台
# > 流媒体
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/YouTube/YouTube.list,📹 油管视频
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Netflix/Netflix.list,🎥 奈飞视频
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/AmazonIp.list,🎥 奈飞视频
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Disney/Disney.list,🎬 迪士尼+
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/BiliBili/BiliBili.list,📽 哔哩哔哩
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMedia/ChinaMedia.list,🍔 国内媒体
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyMedia.list,🍿 国外媒体
# > 谷歌服务
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/GoogleCN.list,🌐 全球直连
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Google/Google.list,🍕 谷歌服务
# > Proxy
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Proxy/Proxy.list,✈️ 节点选择
DOMAIN-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Proxy/Proxy_Domain.list,✈️ 节点选择
# > China
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/China/China.list,🌐 全球直连
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaIPs/ChinaIPs.list,🌐 全球直连
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Download/Download.list,🌐 全球直连
# > GeoIP China
GEOIP,CN,🌐 全球直连
# > DNS 查询失败走 Final 规则
FINAL,🐟 漏网之鱼