Using Squid as a centralised Proxy

Many programs do not use the built in XP proxy configuration. Firefox, Dropbox, Google Translate Client to name a few.
Moving between networks is a pain, and I had previously tried to automate the task of changing the proxy settings, with mixed results.
Enter Squid.
This article explains how to configure it to connect to an parent proxy that requires authentication.
Make sure you change the http_port parameter to only bind to, unless you’re doing something sneaky with your iPad, which cannot use the parent proxy….

Update: A few more usefull tidbits:

  • Install Squid as a service with the -i command line option
  • Start and Stop with the net start|stop commands
  • You should modify the ACLs from those in the article linked above. Here are mine:

acl localhost src
acl all src
acl INTERNAL src
acl NAUGHTY_STUFF dstdom_regex →
-i "etc/domain_blacklist"

http_access deny NAUGHTY_STUFF

http_access allow manager localhost
http_access deny manager

http_access allow localhost
# http_access allow all
http_access deny all

Update: I’m not using this setup anymore, since there is now a forced policy forcing me to use the work proxy. Which is not going so well….

Leave a Reply

Your email address will not be published.