-
Notifications
You must be signed in to change notification settings - Fork 276
/
Surge.conf
53 lines (48 loc) · 2.41 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
[General]
# #本配置基于surge作者老刘提供的最简配置,做了一点点微调。
skip-proxy = 192.168.0.0/24, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.1, localhost, *.local
exclude-simple-hostnames = true
internet-test-url = http://captive.apple.com/generate_204
proxy-test-url = http://cp.cloudflare.com/generate_204
test-timeout = 3
dns-server = 223.5.5.5, 119.29.29.29
# encrypted-dns-server = https://223.5.5.5/ // 除非当地 ISP 有严重的 DNS 污染问题,否则没必要开启 DoH,传统 DNS 的性能最优,网络异常后恢复速度最快
wifi-assist = false
ipv6 = false
http-api = [email protected]:6166
http-api-tls = false
http-api-web-dashboard = true
allow-wifi-access = false
all-hybrid = true
loglevel = warning
ipv6-vif = disabled
[Proxy]
# 将我的GetSomeCats Team 配置放出来供使用。也可以加入我的Team:Getsomecats,验证方式为:gmail
Warp+GSC = wireguard, section-name=GetSomeCats, test-url=http://cp.cloudflare.com/generate_204
[Proxy Group]
Proxy = select, Warp+GSC, no-alert=0, hidden=0, include-all-proxies=1, update-interval=0, policy-path=你的机场订阅链接
[Rule]
# #增加神机去广告规则默认不启用
# DOMAIN-SET,https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Guard/AdvertisingPlus.list,REJECT
# RULE-SET,https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Guard/Advertising.list,REJECT
# #老刘的原版配置里面Apple.list和system都是proxy,我根据自己使用更换成了direct
DOMAIN-KEYWORD,vercel,Proxy
RULE-SET,https://github.com/Blankwonder/surge-list/raw/master/blocked.list,Proxy
RULE-SET,https://github.com/Blankwonder/surge-list/raw/master/cn.list,DIRECT
DOMAIN,apps.apple.com,DIRECT
DOMAIN-SUFFIX,ls.apple.com,DIRECT // Apple Maps
DOMAIN-SUFFIX,store.apple.com,DIRECT // Apple Store Online
RULE-SET,SYSTEM,DIRECT
RULE-SET,https://github.com/Blankwonder/surge-list/raw/master/apple.list,DIRECT
# 以下规则将触发本地 DNS 解析
RULE-SET,LAN,DIRECT
GEOIP,CN,DIRECT
FINAL,Proxy,dns-failed
[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)