LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Multiple IP Tunneling through SSH (putty) on Debian7 (https://www.linuxquestions.org/questions/linux-networking-3/multiple-ip-tunneling-through-ssh-putty-on-debian7-4175545697/)

Faded 06-17-2015 10:41 PM

Multiple IP Tunneling through SSH (putty) on Debian7
 
I currently tunnel through my server with putty using ssh. I have 4 IP
addresses on the server but I am only able to tunnel with the main server
IP.

How can I route the additional IPs so I can SSH to them individually and
tunnel through which IP I want to on the server?

Main server IP is on eth1 199.217.x.x
and the others are eth1:1 - eth1:3 209.126.x.x

Faded 06-18-2015 10:44 AM

If some more details help, this is how im tunneling
http://i.imgur.com/zaiS60G.png

Using the tunnel option for ssh selected ipv6/dynamic under port 1080
then on the ProxyCap application I add the tunnel and route rule
so the tunneled IP is used on all programs.

http://i.imgur.com/2WxX9CO.png

nini09 06-18-2015 02:28 PM

What's eth1:1, VLAN or alias interface?

Faded 06-18-2015 02:30 PM

Alias

nini09 06-19-2015 03:11 PM

You want to create multi SSH tunnel between server and remote host and use different source IP, don't you?
If so, by default, source IP is used dependent on destination IP. For example, if IP of remote host is 209.126.1.1/16, selected source IP on server should be 209.126.x.x.


All times are GMT -5. The time now is 04:31 PM.