This is a short guide on setting up a password based, non caching, and non logging Squid 3 proxy server. I am using Squid 3.1 on Ubuntu 11.10.
1 2 3 4 | sudo apt-get install squid htdigest -c /etc/squid/passwords proxy user vim /etc/squid/squid.conf /etc/init.d/squid restart |
Add to squid.conf:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # disable all logging access_log none cache_store_log none cache_log /dev/null cache deny all # required access controls for Squid version < 3.2 acl manager proto cache_object acl localhost src 127.0.0.1/32 ::1 acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1 # password authentication, *the filename is different depending on the distro* auth_param digest program /usr/lib/squid/digest_pw_auth -c /etc/squid/passwords auth_param digest realm proxy acl authenticated proxy_auth REQUIRED |