How to Set Up Squid Proxy

Using a web proxy like Squid can speed up your network by creating a local cache of frequently used sites. Squid is a free, open source proxy program that can run on many different computer operating systems. The proxy is installed onto a machine that has access to the Internet and your internal network. It can also give you control over who is using your network through advanced access control lists.

Instructions

  1. Get Squid

    • 1

      Download the latest version of the Squid proxy. A compiled version of Squid for Windows computers is available for free from the Acme Consulting website (see Resources).

    • 2

      Open the zip file containing Squid.

    • 3

      Copy the "squid" directory from the zip file.

    • 4

      Paste the "squid" directory into the root level of the "C:" drive of the Windows computer.

    Setup

    • 5

      Create an empty folder named "cache" in the "C:\squid\var\" directory.

    • 6

      Copy and paste to create duplicates of the "squid.conf.default", "mime.conf.default" and "cachemgr.conf.default" files in the "C:\squid\etc\" directory. Rename all three copied files by removing the ".default" from the ends of file names. These new files are the ones that will be used by the Squid software.

    • 7

      Open the "squid.conf" file with the "Notepad" program in the Start menu.

    • 8

      Change line 650 in the "squid.conf" that reads "http_access allow manager localhost" to "http_access allow all". This will allow any machine on the network to use this proxy. You may need to adjust this setting to fit your network security needs.

    Run Squid Service

    • 9

      Open a text command prompt by typing "cmd.exe" into the "Run Command" field of the "Start" menu.

    • 10

      Execute Squid to check for a proper directory structure by typing "c:\squid\sbin\squid.exe -z" into the command prompt window. Press "Return."

    • 11

      Install Squid as a Windows service by entering "c:\squid\sbin\squid.exe -i" and hitting "Return" in the text command window.

    • 12

      Open the Windows' "Service" controls in the "Start > Control Panels > Performance and Maintenance > Administrative Tools" menu.

    • 13

      Select "Squid" in the services list and start it by pressing the "Start the service" link. A Squid proxy is now running on the network. Other computers can access the proxy service on port 3128.

Tips & Warnings

  • Test the proxy by setting the browser on the machine running the Squid proxy to use "127.0.0.1" as its proxy Internet Protocol number on port 3128. Consult the browser's user manual for instructions.
  • Find the IP number of the Squid proxy by typing "ipconfig" into the Command Prompt window. This will be the number used to configure other computers' browsers to use the new proxy.
Related Searches

References

Resources

You May Also Like

Related Ads

Check It Out

Can Microsoft Force You to Upgrade?