[squid-users] Using Squid to Create Multiple Proxy IP's

Amos Jeffries squid3 at treenet.co.nz
Thu Oct 27 02:51:58 UTC 2016


On 27/10/2016 3:37 p.m., john huggins wrote:
> Okay so if I create multiple private IP addresses on my virtual service
> provider, how would I go about using them with squid.
> 
> My goal: to use these IP's to spoof my public IP. If one gets banned or
> goes dead, I just go to my network setting on my local machine and change
> the proxy to an active "spoofed ip"

Ah. That is outgoing from Squid. Not incoming from clients. My earlier
reply details do not apply.


IP addressing on the outgoing connections is an operating system choice.
Squid does not have any direct control over outgoing connections besides
their destination IP:port.

You can try tcp_outgoing_address directive and ACLs to select which IP
Squid asks the OS for as source-IP on any particular HTTP request.
 <http://www.squid-cache.org/Doc/config/tcp_outgoing_address/>

But this is only a hint to the OS. It will make the final choise of
outgoing IP address.

ALso, if you have (like most networks do these days) a NAT translating
between the LAN and the WAN space all the effort in Squid may be erased
by the NAT.


> 
> *im trying to use the correct terminology to the best of my ability, in
> order to explain. So if I use the wrong wording I apologize, since using
> proxy servers are new to me.
> 

No worries. It just slows things down a bit. We have managed to muddle
through that now I hope. :-)

NP: for anonymity with Squid you will want to configure:

 forwarded_for transparent
 via off


Amos



More information about the squid-users mailing list