| Linode Forum https://forum.linode.com/ |
|
| Source address of connections from ssh proxy tunnel https://forum.linode.com/viewtopic.php?f=19&t=6993 |
Page 1 of 1 |
| Author: | funkytastic [ Wed Apr 20, 2011 10:40 pm ] |
| Post subject: | Source address of connections from ssh proxy tunnel |
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? |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|