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
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, localhost, *.local, www.baidu.com //444
5
proxy-test-url = http://www.gstatic.com/generate_204
6
always-real-ip = *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com
7
8
[Host]
9
abc.com = 1.2.3.4
10
*.dev = 6.7.8.9
11
foo.com = bar.com
12
bar.com = server:8.8.8.8
13
14
[Proxy]
15
# build in policy
16
On = direct
17
Off = reject
18
19
// supported proxies
20
ProxyHTTP = http, 1.2.3.4, 443, username, password
21
ProxyHTTPS = https, 1.2.3.4, 443, username, password, skip-cert-verify=true, sni=www.google.com
22
ProxySOCKS5 = socks5, 1.2.3.4, 443, username, password, udp-relay=false
23
ProxySOCKS5TLS = socks5-tls, 1.2.3.4, 443, username, password, skip-cert-verify=true, sni=www.google.com
24
ProxySS = ss, 1.2.3.4, 8000, encrypt-method=chacha20-ietf-poly1305, password=abcd1234, udp-relay=false, obfs=http, obfs-host=www.google.com, obfs-uri=/
25
ProxyVMess = vmess, 1.2.3.4, 8000, username=0233d11c-15a4-47d3-ade3-48ffca0ce119, udp-relay=false, 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, vmess-aead=true
26
ProxyTrojan = trojan, 192.168.20.6, 443, password=password1, udp-relay=false, skip-cert-verify=true, sni=www.google.com
27
28
[Proxy Group]
29
SelectGroup = select, ProxyHTTP, ProxyHTTPS, DIRECT, REJECT
30
AutoTestGroup = url-test, ProxySOCKS5, ProxySOCKS5TLS, url=http://www.gstatic.com/generate_204, interval=600, tolerance=100, timeout=5, hidden=true
31
ExternalGroup = select, policy-path=https://test.com/nodes.txt, policy-regex-filter=HK-.*
32
AutoExternalGroup = url-test, policy-path=https://test.com/nodes.txt
33
34
[Rule]
35
DOMAIN,www.apple.com,Proxy
36
DOMAIN-SUFFIX,apple.com,Proxy,force-remote-dns
37
DOMAIN-KEYWORD,google,Proxy,enhanced-mode
38
IP-CIDR,192.168.0.0/16,DIRECT
39
GEOIP,US,DIRECT
40
PROCESS-NAME,com.android.vending,Proxy # android package name
41
RULE-SET,https://ruleset.com/cn,DIRECT
42
FINAL,Proxy
Copied!
复制链接