Update README.md
This commit is contained in:
11
README.md
11
README.md
@@ -140,8 +140,15 @@ client_keepalive = 600 # Seconds
|
|||||||
client_ack_timeout = 300 # Seconds
|
client_ack_timeout = 300 # Seconds
|
||||||
```
|
```
|
||||||
### Advanced
|
### Advanced
|
||||||
|
#### Listeners and Announce IPs
|
||||||
|
To specify listening address and/or address in links, add to the end of config.toml:
|
||||||
|
```toml
|
||||||
|
[[listeners]]
|
||||||
|
ip = "0.0.0.0" # 0.0.0.0 = all IPs; your IP = specific listening
|
||||||
|
announce_ip = "1.2.3.4" # IP in links
|
||||||
|
```
|
||||||
#### Upstream Manager
|
#### Upstream Manager
|
||||||
To specify upstream, add config.toml to the end:
|
To specify upstream, add to the end of config.toml:
|
||||||
##### Bind on IP
|
##### Bind on IP
|
||||||
```toml
|
```toml
|
||||||
[[upstreams]]
|
[[upstreams]]
|
||||||
@@ -164,7 +171,7 @@ enabled = true
|
|||||||
```toml
|
```toml
|
||||||
[[upstreams]]
|
[[upstreams]]
|
||||||
type = "socks5" # Specify SOCKS4 or SOCKS5
|
type = "socks5" # Specify SOCKS4 or SOCKS5
|
||||||
address = "1.2.3.4:1234" # SOCKS-server Address
|
address = "1.2.3.4:1234" # SOCKS-server Address
|
||||||
username = "user" # Username for Auth on SOCKS-server
|
username = "user" # Username for Auth on SOCKS-server
|
||||||
password = "pass" # Password for Auth on SOCKS-server
|
password = "pass" # Password for Auth on SOCKS-server
|
||||||
weight = 1 # Set Weight for Scenarios
|
weight = 1 # Set Weight for Scenarios
|
||||||
|
|||||||
Reference in New Issue
Block a user