I wanted to know if there is an easy way to be able to bind to
every available IP on the machine & in turn broadcast / tunnel through
a particular IP if it is the IP connected to.
I have multiple external IPs on a box. Right now, in squid I have to
set "tcp_outgoing_address" in the squid.conf to the outgoing IP
address I want to use. The problem here is that if I want to use a
different outgoing address, I have to edit
the squid.conf to reflect the new IP and then restart squid for the
changes to take effect.
What I would rather have is squid automatically bind to every IP & the
tcp_outgoing_address should be the one that was connected to.
1. squid-2.6.STABLE13 is installed on box with 3 IPs (18.104.22.168-13)
2. I connect to www.whatismyip.com using the proxy 22.214.171.124:3128
and my ip is shown as 126.96.36.199
3. I connect to www.whatismyip.com using the proxy 188.8.131.52:3128
and my ip is shown as 184.108.40.206
4. I connect to www.whatismyip.com using the proxy 220.127.116.11:3128
and my ip is shown as 18.104.22.168
Is there a way to acheive cases 2,3 & 4 simultaneously without squid
requiring a restart ?