SSH tunnels with multiple outbound IPs
- by Peter Johansson
I have a VPS with multiple IP addresses allocated to it (we can use debian, centos or ubuntu). I can ssh into the server using any of the IP addresses. However, any ssh tunnel I set up always uses just one of the IP addresses as its origination IP.
How do I configure the server so that when I ssh tunnel into IP1, its outbound IP is IP1. And…