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 (22.214.171.124-13)
2. I connect to www.whatismyip.com using the proxy 126.96.36.199:3128
and my ip is shown as 188.8.131.52
3. I connect to www.whatismyip.com using the proxy 184.108.40.206:3128
and my ip is shown as 220.127.116.11
4. I connect to www.whatismyip.com using the proxy 18.104.22.168:3128
and my ip is shown as 22.214.171.124
Is there a way to acheive cases 2,3 & 4 simultaneously without squid
requiring a restart ?