I have a server machine with a dedicated IP and several IP aliases. It has a single network interface and on it there are multiple IPs "attached".
So let's say IP1 is the main ip but I also have IP2 and IP3
I can ssh into any of the three IPs and access the same machine.
Now if I create a SSH tunnel and configure my browser to use that tunnel as a socks proxy, all outgoing requests seem to be going through IP1 only. So if I create a tunnel through IP2 and set it as proxy in firefox, then say google for "what's my ip" I see the IP1 showing up.
Is there a way I can set the outgoing connections to show as the IP aliases that I'm proxying through?