ssh tunnel - can I set remote bind address?

Tomasz Chmielewski mangoo at wpkg.org
Thu Apr 17 18:35:47 EST 2014


On Thu, 17 Apr 2014 04:53:54 +0200
Peter Stuge <peter at stuge.se> wrote:

> Tomasz Chmielewski wrote:
> > With ssh tunnel (-L option), is it possible to set _remote_ bind
> > address?
> 
> No.
> 
> > If not possible, are there any workarounds?
> 
> Routing table on the server.

OK, thanks.
In case someone was looking for a similar issue, I've used this on the server (Linux):

iptables -t nat -I POSTROUTING -o eth0 -d 3.3.3.3 -j SNAT --to 2.2.2.2


-- 
Tomasz Chmielewski
http://wpkg.org



More information about the openssh-unix-dev mailing list