-
Notifications
You must be signed in to change notification settings - Fork 1
/
Surge.conf
32 lines (28 loc) · 1.62 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
[General]
skip-proxy = 192.168.0.0/24, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.1, localhost, *.local
internet-test-url = http://www.google.com
proxy-test-url = http://www.google.com
test-timeout = 2
dns-server = 8.8.8.8, 114.114.114.114
ipv6 = false
geoip-maxmind-url = https://git.io/GeoLite2-Country.mmdb
[Proxy Group]
Proxy = select, Auto, policy-regex-filter=$, no-alert=1, hidden=0, include-all-proxies=0, include-other-group=Auto
# Auto = smart, update-interval=1800, persistent=0, no-alert=1, hidden=0, include-all-proxies=0, policy-regex-filter=$, policy-path=https://sub.xeton.dev/sub?target=surge&ver=4&list=true&url=URL
Auto = smart, update-interval=1800, persistent=0, no-alert=1, hidden=0, include-all-proxies=0, policy-regex-filter=$, policy-path=https://sub.xeton.dev/sub?target=surge&ver=4&list=true&url=URL
[Rule]
# Lan
RULE-SET,LAN,DIRECT
# Rule
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Advertising/Advertising.list,REJECT,no-resolve
DOMAIN-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Advertising/Advertising_Domain.list,REJECT
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Proxy/Proxy.list,Proxy,no-resolve
DOMAIN-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Proxy/Proxy_Domain.list,Proxy
# China
GEOIP,CN,DIRECT,no-resolve
# Final
FINAL,Proxy,dns-failed
[Script]
Sub-Store = type=http-request, pattern=^https?:\/\/sub\.store, script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/sub-store.min.js, requires-body=true
[MITM]
hostname = sub.store