[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssh-unix-dev
Subject:    Re: ssh tunnel - can I set remote bind address?
From:       Tomasz Chmielewski <mangoo () wpkg ! org>
Date:       2014-04-17 8:35:47
Message-ID: 20140417093547.1f4a946b () s9
[Download RAW message or body]

On Thu, 17 Apr 2014 04:53:54 +0200
Peter Stuge <peter@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

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic