Surfboard
搜索文档…
配置模板
1
#!MANAGED-CONFIG http://test.com/surfboard.conf interval=60 strict=true
2
[General]
3
dns-server = system, 8.8.8.8, 8.8.4.4, 9.9.9.9:9953
4
proxy-test-url = http://www.gstatic.com/generate_204
5
6
[Host]
7
abc.com = 1.2.3.4
8
*.dev = 6.7.8.9
9
foo.com = bar.com
10
bar.com = server:8.8.8.8
11
12
[Proxy]
13
# build in policy
14
On = direct
15
Off = reject
16
17
// supported proxies
18
ProxyHTTP = http, 1.2.3.4, 443, username, password
19
ProxyHTTPS = https, 1.2.3.4, 443, username, password, skip-cert-verify=true, sni=www.google.com
20
ProxySOCKS5 = socks5, 1.2.3.4, 443, username, password
21
ProxySOCKS5TLS = socks5-tls, 1.2.3.4, 443, username, password, skip-cert-verify=true, sni=www.google.com
22
ProxySS = ss, 1.2.3.4, 8000, encrypt-method=chacha20-ietf-poly1305, password=abcd1234, obfs=http, obfs-host=www.google.com, obfs-uri=/
23
ProxyVMess = vmess, 1.2.3.4, 8000, username=0233d11c-15a4-47d3-ade3-48ffca0ce119, ws=true, tls=true, ws-path=/v2, ws-headers=X-Header-1:value|X-Header-2:value, skip-cert-verify=true, sni=www.google.com
24
ProxyTrojan = trojan, 192.168.20.6, 443, password=password1, skip-cert-verify=true, sni=www.google.com
25
26
[Proxy Group]
27
SelectGroup = select, ProxyHTTP, ProxyHTTPS, DIRECT, REJECT
28
AutoTestGroup = url-test, ProxySOCKS5, ProxySOCKS5TLS, url=http://www.gstatic.com/generate_204, interval=600, tolerance=100, timeout=5
29
ExternalGroup = select, policy-path=https://test.com/nodes.txt
30
31
[Rule]
32
DOMAIN,www.apple.com,Proxy
33
DOMAIN-SUFFIX,apple.com,Proxy,force-remote-dns
34
DOMAIN-KEYWORD,google,Proxy,enhanced-mode
35
IP-CIDR,192.168.0.0/16,DIRECT
36
GEOIP,US,DIRECT
37
PROCESS-NAME,com.android.vending,Proxy # android package name
38
RULE-SET,https://ruleset.com/cn,DIRECT
39
FINAL,Proxy
Copied!
最近更新 3mo ago
复制链接