-Ne / -Ni description added to man
Some checks are pending
C/C++ CI Linux / ${{ matrix.target }} (ubuntu-24.04-arm) (push) Waiting to run
C/C++ CI Linux / ${{ matrix.target }} (ubuntu-latest) (push) Waiting to run
C/C++ CI MacOS / ${{ matrix.target }} (macos-15) (push) Waiting to run
C/C++ CI Windows / ${{ matrix.target }} (windows-2022) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (macos-15) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (ubuntu-24.04-arm) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (ubuntu-latest) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (windows-2022) (push) Waiting to run

This commit is contained in:
Vladimir Dubrovin 2026-04-13 21:37:46 +03:00
parent c4ac696919
commit 454f5e1d54
2 changed files with 14 additions and 8 deletions

View File

@ -181,10 +181,15 @@ connections to. By default, connections to any interface are
accepted. Unix domain sockets can be specified with accepted. Unix domain sockets can be specified with
<i>-iunix:/path/to/socket</i> syntax. On Linux, abstract <i>-iunix:/path/to/socket</i> syntax. On Linux, abstract
sockets use <i>-iunix:@socketname</i> syntax. <b><br> sockets use <i>-iunix:@socketname</i> syntax. <b><br>
-N</b> (for socks) External NAT address 3proxy reports to -Ne</b> (for socks) External NAT address (between 3proxy and
client for BIND and UDPASSOC By default external address is destination server) to report to client for CONNECT and
reported. It&rsquo;s only useful in the case of IP-IP NAT BIND. By default external address is reported. It&rsquo;s
(will not work for PAT) <b><br> only useful in the case of IP-IP NAT (will not work for
PAT). <b><br>
-Ni</b> (for socks) Internal NAT address (between client and
3proxy) to report to client for UDPASSOC. By default
internal address is reported. It&rsquo;s only useful in the
case of IP-IP NAT (will not work for PAT). <b><br>
-H</b> (for all services) Expect HAProxy PROXY protocol v1 -H</b> (for all services) Expect HAProxy PROXY protocol v1
header on incoming connection. This allows the proxy to header on incoming connection. This allows the proxy to
receive real client IP address from HAProxy or other load receive real client IP address from HAProxy or other load

View File

@ -193,10 +193,11 @@ syntax. On Linux, abstract sockets use
.I -iunix:@socketname .I -iunix:@socketname
syntax. syntax.
.br .br
.B -N .B -Ne
(for socks) External NAT address 3proxy reports to client for BIND and UDPASSOC (for socks) External NAT address (between 3proxy and destination server) to report to client for CONNECT and BIND. By default external address is reported. It's only useful in the case of IP-IP NAT (will not work for PAT).
By default external address is reported. It's only useful in the case .br
of IP-IP NAT (will not work for PAT) .B -Ni
(for socks) Internal NAT address (between client and 3proxy) to report to client for UDPASSOC. By default internal address is reported. It's only useful in the case of IP-IP NAT (will not work for PAT).
.br .br
.B -H .B -H
(for all services) Expect HAProxy PROXY protocol v1 header on incoming connection. (for all services) Expect HAProxy PROXY protocol v1 header on incoming connection.