From e1f576e4fe6d137cae37e26b17edae94ef9af323 Mon Sep 17 00:00:00 2001 From: Alexey <247128645+axkurcom@users.noreply.github.com> Date: Thu, 8 Jan 2026 02:00:27 +0300 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ea714fb..13b1f5a 100644 --- a/README.md +++ b/README.md @@ -140,8 +140,15 @@ client_keepalive = 600 # Seconds client_ack_timeout = 300 # Seconds ``` ### 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 -To specify upstream, add config.toml to the end: +To specify upstream, add to the end of config.toml: ##### Bind on IP ```toml [[upstreams]] @@ -164,7 +171,7 @@ enabled = true ```toml [[upstreams]] 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 password = "pass" # Password for Auth on SOCKS-server weight = 1 # Set Weight for Scenarios