I’m running Windows Server Essentials 2012 R2 for file storage and system backups. While I’m doing lots of experimenting with Boxstarter, I wanted a caching web proxy that would keep local copies of the package files I’m installing over and over so that I wouldn’t have to wait for them to come from the Internet each time.
Installation is simple. I extracted all the files into C:squid. In the etc folder, there are four configuration files with .conf.default extensions. I removed the .default extension from
Next from a command prompt running as Administrator cd to
c:squidsbin and run
squid –i and
squid –z. The first command installs squid as a service and the second initialises the cache folder (
c:squidvarcache). Finally, start the service with
net start squid.
Squid will now be running and listening on port 3128 (the default for squid). The last think you need to do is to configured the Windows Firewall to allow incoming connections to squid. Go to Advanced Settings from the Windows Firewall control panel. Select Inbound rules and add a New Rule allowing listening on TCP port 3128.
Now you should be all set – you can configure your browser to connect to the proxy on your server using port 3128. You can look in the
c:squidvarlogs folder for activity logs to make sure things are working.