How to Install and Configure Squid Proxy Cache on Windows

Squid is a caching proxy for the Web. Squid has variety of uses and advantages such as speeding up web browsing for end user, reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. It also can work as web filtering and can control the browsing traffic. In this post, i will share on how to install and configure Squid Proxy Cache on Windows.

1. Download Squid from below URL:

http://sourceforge.net/projects/squidwindowsmsi/

2. Extract Squid proxy package by double click the squid-2.7.2_i386.msi. By default everything will be extracted to C:\squid :
squid

squid

3. Creating Swap :

C:\squid\sbin>squid -z
2012/11/03 23:18:11| Creating Swap Directories

4. Install Squid as a Window Service :

C:\squid\sbin>squid -i
Registry stored HKLM\SOFTWARE\GNU\Squid\2.6\Squid\ConfigFile value c:/squid/etc/
squid.conf
Squid Cache version 2.6.STABLE23 for i686-pc-winnt
installed successfully as Squid Windows System Service.
To run, start it from the Services Applet of Control Panel.
Don't forget to edit squid.conf before starting it.

4. Start Squid :

C:\>net start squid
The Squid service is starting.
The Squid service was started successfully

Alternatively, you can start the squid service from service.msc as below screen captured :

Start >> Run >> services.msc

squid

5. Configure your proxy browser 127.0.0.1 port 3128 if you run from the same workstation with squid proxy.

7 Comments

  1. kfr February 12, 2014
    • Phill November 12, 2014
  2. simon May 8, 2014
  3. PMR September 14, 2015
  4. Tarun September 21, 2015
  5. Kris March 8, 2016
  6. emiliano tomei June 2, 2016

Leave a Reply