Squid Proxy

posted Nov 4, 2010, 1:13 PM by David Cole   [ updated Nov 4, 2010, 1:30 PM ]
Squid is a fully-featured HTTP/1.0 proxy which is almost (but not quite - we’re getting there!) HTTP/1.1 compliant. Squid offers a rich access control, authorization and logging environment to develop web proxy and content serving applications.
This is a short guide on how to set up a transparent squid proxy server. Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.

Install Squid

Install squid and squid-common

sudo aptitude install squid squid-common

Start webmin and "Refresh Modules" to add Squid Proxy to the servers of Webmin.


Choose "Squid Proxy" from the Servers then "Access Control"

Check the entry LocalNet includes the correct subnet.(

 Add LocalNet, SSL_ports and Safe_ports "Allow" to the list of proxy restrictions, move it above Deny Purge

 Add Allow localnet above CONNECT !SSL_ports

Now open up your browser and set your proxy to point to your new squid server on port 3128

To change the port return to the Module Index choose Ports and Networking and change the port number.

Change port number to 8080

Note:  Make sure the cache size is less than the size of the drive with the size of the OS taken off, or quickly it will fill.  I added a couple of other drives for cache drives after filling my primary drive.