Usage
Some features are linked to a Surge manual page, that means the usage of that feature is same as Surge config, you can follow the configuration with Surge manual page.

Add Profile

Add profiles

Create a new config

Sample config file

replace your server nodes with specific pattern.
1
[General]
2
skip-proxy = 10.0.0.0/8, 17.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 127.0.0.1, localhost, *.local
3
dns-server = 114.114.114.114, 208.67.222.222:443, system
4
udp-relay = true
5
6
[Proxy]
7
node1 = socks5, 1.2.3.4, surfboard, password
8
node2 = http, 1.2.3.4, , tls = false
9
node3 = https, 1.2.3.4, , skip-cert-verify = false
10
node4 = ss, 1.2.3.4, 443, chacha20, surfboard
11
node5 = ss, 1.2.3.4, 443, chacha20, surfboard, obfs=tls, obfs-host=p69-keyvalueservice.icloud.com
12
DIRECT = direct
13
REJECT = reject
14
15
[Proxy Group]
16
Proxy = select, DIRECT, node1, node2, node3, node4, node5
17
18
[Rule]
19
DOMAIN-SUFFIX, baidu.com, REJECT
20
DOMAIN-KEYWORD, google, node2
21
DOMAIN-KEYWORD, twitter, Proxy, force-remote-dns
22
DOMAIN, www.ipip.net, Proxy
23
IP-CIDR, 192.168.0.0/16, DIRECT
24
IP-CIDR, 8.8.8.8/32, node1
25
GEOIP, CN, DIRECT
26
FINAL, Proxy
27
28
[Host]
29
abc.com = 1.2.3.4
30
*.dev = 6.7.8.9
31
foo.com = bar.com
32
bar.com = server:8.8.8.8
33
computer = server:system
Copied!

Add config with QRcode

The url embeded with QRcode shoud be started with surfbord(or surge):///install-config?url=.
For example: surge:///install-config?url=http(s)://a.b.c/url.conf
you can use managed config to edit your profile remotely then you can update it with just a tap

Add config with url

type or paste your profile url here and tap download to add
you can use managed config to edit your profile remotely then you can update it with just a tap

Add config from localfile

Sometimes you may not able to select a file from local file manager, try to use a third-part file manager (like solid explorer) to access to your local file(may not work on some devices, working on my Samsung S8+).

Edit Profile

from Ver0.8.6(27) you can edit your profile via a web based text-editor. Just tap the up right corner menu and select External editor and following the guide.

Start using

Tap the Config page ,select which node you need then tap the switch page and toggle the trigger.
Last modified 3yr ago