Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Apr 20, 2011 10:40 pm 
Offline
Senior Member
User avatar

Joined: Sun Aug 10, 2008 11:26 am
Posts: 104
Location: ~$
I have a linode with multiple IP addresses. I'm using `ssh -D <local port>` to create a local SOCKS proxy to use an ssh tunnel to this linode.

If I make a TCP connection through this tunnel, the source address is always set to the last public address listed in /etc/network/interfaces (eth0:1 on this box).

I want to be able to select which of the linode's IP addresses to set as the source address when I create the ssh tunnel. I'm fine with running multiple sshds to accomplish this (e.g. connect to a different remote port to use a different source address).

Google and `man sshd_config` are giving me nothing. I did find the TunnelDevice configuration option in ssh_config, on the client side, which allows one to "Force a specified tun(4) device on the client". Nothing similar seems to be available in the server config, and I have a feeling that messing with tun devices might be the wrong approach anyway.

Ideas?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group