-
Notifications
You must be signed in to change notification settings - Fork 270
/
A_mini.conf
137 lines (121 loc) · 7.61 KB
/
A_mini.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
132
133
134
135
# > 本配置基于深巷有喵的配置进行了一点修改并加入了warp节点。
[General]
# > 日志级别
loglevel = notify
show-error-page-for-reject = true
# > 允许 Wi-Fi 访问
allow-wifi-access = false
# > 增强版 Wi-Fi 助理
wifi-assist = false
# > All Hybrid 网络并发
all-hybrid = false
# > IPv6 支持(默认关闭)
ipv6 = false
# > 测试超时(秒)
test-timeout = 5
# > Internet 测试 URL
internet-test-url = http://captive.apple.com/generate_204
# > 代理测速 URL
proxy-test-url = http://cp.cloudflare.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 = *: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]
Warp+GSC = wireguard, section-name=GetSomeCats, test-url=http://cp.cloudflare.com/generate_204
[Proxy Group]
# > 策略组(下面的节点信息需与外部节点对应,若删除了外部节点里的节点,那么在策略组里也要删除。)
节点选择 = select, 香港节点, 美国节点, 新加坡节点, 日本节点, 台湾节点, 手动选择
谷歌服务 = select, 节点选择, 香港节点, 美国节点, 新加坡节点, 日本节点, 台湾节点
苹果服务 = select, DIRECT, 节点选择, 香港节点, 美国节点, 新加坡节点, 日本节点, 台湾节点
电报信息 = select, 节点选择, 香港节点, 美国节点, 新加坡节点, 日本节点, 台湾节点
奈飞视频 = select, 香港节点, 美国节点, 新加坡节点, 日本节点, 台湾节点
迪士尼+ = select, 香港节点, 美国节点, 新加坡节点, 日本节点, 台湾节点
油管视频 = select, 香港节点, 美国节点, 新加坡节点, 日本节点, 台湾节点
哔哩哔哩 = select, DIRECT, 香港节点, 台湾节点
国外媒体 = select, 香港节点, 美国节点, 新加坡节点, 日本节点, 台湾节点
国内媒体 = select, DIRECT, 香港节点, 美国节点, 新加坡节点, 日本节点, 台湾节点
微软服务 = select, DIRECT, 节点选择, 香港节点, 美国节点, 新加坡节点, 日本节点, 台湾节点
游戏平台 = select, DIRECT, 节点选择, 香港节点, 美国节点, 新加坡节点, 日本节点, 台湾节点
# > 外部节点
手动选择 = select, policy-path=你的机场订阅链接, update-interval=0, no-alert=0, hidden=0, include-all-proxies=1
香港节点 = fallback, update-interval=0, policy-regex-filter=(🇭🇰)|(港)|(Hong)|(HK), no-alert=0, hidden=0, include-all-proxies=0, include-other-group=手动选择
台湾节点 = fallback, update-interval=0, policy-regex-filter=(🇨🇳)|(台)|(Tai)|(TW), no-alert=0, hidden=0, include-all-proxies=0, include-other-group=手动选择
美国节点 = fallback, update-interval=0, policy-regex-filter=(🇺🇸)|(美)|(States)|(US), no-alert=0, hidden=0, include-all-proxies=0, include-other-group=手动选择
日本节点 = fallback, update-interval=0, policy-regex-filter=(🇯🇵)|(日)|(Japan)|(JP), no-alert=0, hidden=0, include-all-proxies=0, include-other-group=手动选择
新加坡节点 = fallback, update-interval=0, policy-regex-filter=(🇸🇬)|(坡)|(Singapore)|(SG), no-alert=0, hidden=0, include-all-proxies=0, include-other-group=手动选择
[Rule]
# > 去广告 默认禁用
# RULE-SET,https://ruleset.skk.moe/List/non_ip/reject.conf,REJECT
# DOMAIN-SET,https://ruleset.skk.moe/List/domainset/reject.conf,REJECT-TINYGIF
# DOMAIN-SET,https://ruleset.skk.moe/List/domainset/reject_phishing.conf,REJECT
# RULE-SET,https://ruleset.skk.moe/List/ip/reject.conf,REJECT-DROP
# > 本地/局域网地址
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Lan/Lan.list,DIRECT
# > 微软服务
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/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/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/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,节点选择
# > 下载
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Download/Download.list,DIRECT
# > 开源CDN加速
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/cdn.conf,节点选择
RULE-SET,https://ruleset.skk.moe/List/non_ip/cdn.conf,节点选择
# 防止应用循环请求
IP-CIDR,0.0.0.0/32,REJECT,no-resolve
# > China ASN
RULE-SET,https://raw.githubusercontent.com/VirgilClyne/GetSomeFries/auto-update/ruleset/ASN.China.list,DIRECT
# > DNS 查询失败走 Final 规则
FINAL,节点选择,dns-failed
# 自带1个warp+节点,你们也可以加入我的team:getsomecats,验证方式为:gmail 目前已满
[WireGuard GetSomeCats]
private-key = CLQJ+u6DuD/Y4/OpB6AzEOZCQERrNVcRhPkI+i21dkw=
self-ip = 172.16.0.2
self-ip-v6 = 2606:4700:110:8ea9:642c:49bc:17f3:b85
prefer-ipv6 = true
dns-server = 162.159.36.1, 2606:4700:4700::1111
mtu = 1420
peer = (public-key = bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=, allowed-ips = "0.0.0.0/0, ::0/0", endpoint = 162.159.195.8:2408, keepalive = 45, client-id = 207/13/73)