Squid Multiple Outgoing IP

I got lots of queries from Fellow VPS server Administrators on using all of IPs provided by provider for browsing the internet and rotating the IP addresses for squid multiple outgoing ip

When squid server is configured by using following squid acls and tcp_outgoing_address directives we can use all of IPs that are assigned.Here is configuration of  squid multiple outgoing IP address using tcp_outgoing_address

acl myip1 myip
acl myip2 myip
acl myip3 myip

tcp_outgoing_address myip1
tcp_outgoing_address myip2
tcp_outgoing_address myip3

Here I take - as your assigned IP

The acl lines tell squid to match myip which means if someone uses the IP as their proxy server they will match the acl ip1 and so on..


Leave a Reply

Your email address will not be published. Required fields are marked *