[Bug 1804] ssh option -R 127.0.0.2:10443:<dest ip>:443 does not work

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Aug 9 02:37:36 EST 2010


https://bugzilla.mindrot.org/show_bug.cgi?id=1804

--- Comment #5 from Damien Miller <djm at mindrot.org>  ---
from sshd_config(5):

>   GatewayPorts
>           Specifies whether remote hosts are allowed to connect to ports
>           forwarded for the client.  By default, sshd(8) binds remote port
>           forwardings to the loopback address.  This prevents other remote
>           hosts from connecting to forwarded ports.  GatewayPorts can be
>           used to specify that sshd should allow remote port forwardings to
>           bind to non-loopback addresses, thus allowing other hosts to
>           connect.  The argument may be ``no'' to force remote port
>           forwardings to be available to the local host only, ``yes'' to
>           force remote port forwardings to bind to the wildcard address, or
>           ``clientspecified'' to allow the client to select the address to
>           which the forwarding is bound.  The default is ``no''.

Have you tried setting GatewayPorts=clientspecified? It does exactly
what you are asking for.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list