docs: reorder listeners -- deepest chain on default port

:1080 = Tor + 2 pool hops, :1081 = Tor + 1, :1082 = Tor only.
This commit is contained in:
user
2026-02-17 22:06:40 +01:00
parent 7dc3926f48
commit 28c9830f56
4 changed files with 22 additions and 20 deletions

View File

@@ -77,16 +77,16 @@ api_listen: 127.0.0.1:1081 # control API (disabled by default)
listeners:
- listen: 0.0.0.0:1080
chain:
- socks5://127.0.0.1:9050 # Tor only
- socks5://127.0.0.1:9050
- pool # Tor + 2 pool proxies
- pool
- listen: 0.0.0.0:1081
chain:
- socks5://127.0.0.1:9050
- pool # Tor + 1 pool proxy
- listen: 0.0.0.0:1082
chain:
- socks5://127.0.0.1:9050
- pool # Tor + 2 pool proxies
- pool
- socks5://127.0.0.1:9050 # Tor only
# Old single-listener format still works:
# listen: 127.0.0.1:1080
@@ -134,9 +134,9 @@ Options:
## How Chaining Works
```
:1080 Client -> s5p -> Tor -> Destination (0 pool hops)
:1081 Client -> s5p -> Tor -> [pool proxy] -> Destination (1 pool hop)
:1082 Client -> s5p -> Tor -> [pool proxy] -> [pool proxy] -> Dest (2 pool hops)
:1080 Client -> s5p -> Tor -> [pool] -> [pool] -> Destination (2 pool hops)
:1081 Client -> s5p -> Tor -> [pool] -> Destination (1 pool hop)
:1082 Client -> s5p -> Tor -> Destination (0 pool hops)
```
s5p connects to Hop1 via TCP, negotiates the hop protocol (SOCKS5/4/HTTP),