Local transparent HTTP proxy with Squid
Setting up Squid as a transparent HTTP proxy has been discussed plenty of times. All of these examples and blogs I’ve read on the subject assume that you run Squid on your network gateway. While this is a very common and sensible set up, it doesn’t suit my need. I need to lock down one single computer and perform filtering using Squid’s ACL mechanism, regardless of the network it’s plugged into.
I’ve written an article called Local transparent HTTP proxy on this subject. It handles IPTables and Squid configuration, and highlights the special needs that arise when running a mandatory transparent HTTP proxy on a client machine.