ssh tunnel - can I set remote bind address?

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



With ssh tunnel (-L option), is it possible to set _remote_ bind
address?

Say, I have a remote SSH server with two IP addresses, 1.1.1.1 and
2.2.2.2.

I would like to make sure that any outgoing connections to 3.3.3.3 will
be made from 2.2.2.2:


ssh client ---> 1.1.1.1 ssh server 2.2.2.2 >--- 3.3.3.3


Pseudo "--remote-bind" command here to illustrate what I mean:

   ssh -N -L 4444:3.3.3.3:4444 --remote-bind 2.2.2.2 1.1.1.1

If not possible, are there any workarounds?


-- 
Tomasz Chmielewski
http://wpkg.org


_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux