Outgoing IP of forwarded requests
Alex Bligh
alex at alex.org.uk
Sun Jul 4 18:01:23 EST 2010
--On 4 July 2010 09:26:05 +1000 Damien Miller <djm at mindrot.org> wrote:
>> According to the manuals of ss5 (SOCKS5 Server) and squid (HTTP
>> Server) - they're both capable of using the outgoing IP while
>> specifying the inbound IP route relation.
>>
>> openssh can't do it?
>
> No, there is no scope in the protocol to specify the bind addresses of
> outgoing port-forward connections. If you want to add one, you will
> probably have to add a PortForwardBindAddress option to the client and/or
> server.
Even if you did this, I think the OP would also need to run 3 ssh
daemons each bound to one address, each with the different option in.
A workaround would be to run (e.g.) 3 x kvm instances plus NAT, each
running sshd and each seeing a single network interface.
--
Alex Bligh
More information about the openssh-unix-dev
mailing list