LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-17-2015, 10:41 PM   #1
Faded
LQ Newbie
 
Registered: Jun 2015
Distribution: Debian
Posts: 3

Rep: Reputation: Disabled
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
 
Old 06-18-2015, 10:44 AM   #2
Faded
LQ Newbie
 
Registered: Jun 2015
Distribution: Debian
Posts: 3

Original Poster
Rep: Reputation: Disabled
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
 
Old 06-18-2015, 02:28 PM   #3
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
What's eth1:1, VLAN or alias interface?
 
Old 06-18-2015, 02:30 PM   #4
Faded
LQ Newbie
 
Registered: Jun 2015
Distribution: Debian
Posts: 3

Original Poster
Rep: Reputation: Disabled
Alias

Last edited by Faded; 06-18-2015 at 05:02 PM.
 
Old 06-19-2015, 03:11 PM   #5
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Selecting multiple line in putty ssh fraksipon Linux - Newbie 1 01-10-2015 07:57 AM
[SOLVED] XDMCP tunneling in Xming portable PuTTY SSH connection ljlayne Linux - Enterprise 0 07-21-2011 05:40 PM
SSH tunneling with multiple IPs? N4melessS0ldier Linux - Networking 13 09-03-2010 03:28 AM
SSH tunneling on multiple ips jollibeey Linux - Security 1 08-19-2009 02:42 AM
SSH tunneling with multiple IPs phoinix Linux - Networking 2 03-27-2007 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration