squid

Squid IP whitelist guide

August 22, 2015 Systems Administration 2 comments

Squid proxy and cache server guide

This is a quick guide showing how to configure Squid IP whitelist, limiting connections to Squid proxy server only from particular IPs.

(more…)

Remove proxy headers in Squid

August 20, 2015 Systems Administration 7 comments

Squid proxy and cache server guide

Very often we use the proxy servers to increase our privacy. By using a proxy, we can hide our own IP and present the proxy IP to other computers. However, the proxy servers often add HTTP headers informing about proxy usage, that can reveal your IP. In this article I will show how to remove proxy headers in Squid, a popular proxy server.

(more…)

Squid multiple IPs configuration

August 19, 2015 Systems Administration 7 comments

Squid proxy and cache server guide

Last time at work our system administrator had an issue with Squid multiple IPs configuration. The IP binding wasn’t working properly for him. Clients could connect to multiple IPs of the Squid server, but still all outgoing connections were made from the main IP of the server. The intention was to make Squid multiple IPs configuration that sets the IP for outgoing connections the same as the IP used to connect with the Squid server.

I have investigated the issue and, thankfully, the solution for this Squid multiple IPs setup is quick and easy. It can be simply configured by creating an ACL matching the IP used to connect with the Squid proxy, and then by using this ACL together with tcp_outgoing_address setting.

Further in the article you will find an example and working code that solves Squid multiple IPs problem.

(more…)