-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample.cfg.yaml
28 lines (21 loc) · 1.15 KB
/
example.cfg.yaml
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
# The algorithm used for selecting the network path.
# One of: weighted-lru, roundrobin, random, hash
algorithm: weighted-lru
# The address where the SOCKS5 server will listen for incoming connections.
# This should be in the format of IP:PORT.
listen: 192.168.1.69:1080
# If set to true, the port part of addr will be hashed when generating the address hash key.
hashport: true
# A list of network paths to use for routing traffic.
# Each path can be of type 'direct' or 'proxy'.
paths:
- type: direct # Direct connection through the first internet connection.
addr: 192.168.1.69 # IP address of Network Adapter #1.
- type: direct # Direct connection through the second internet connection.
addr: 192.168.57.206 # IP address of Network Adapter #2.
- type: direct # Direct connection through the third internet connection.
addr: 192.168.137.211 # IP address of Network Adapter #3.
- type: proxy # Connection through the first proxy server.
addr: socks5://127.0.0.1:1081 # SOCKS5 proxy address.
- type: proxy # Connection through the second proxy server.
addr: socks5://127.0.0.1:1082 # SOCKS5 proxy address.