Created
December 10, 2014 17:18
-
-
Save drio/74bbbe470b9346f1dcd5 to your computer and use it in GitHub Desktop.
Mininal squid config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd dev | |
$ wget squid ... | |
$ tar zxvf ... | |
$ cd squid-... | |
$ ./configure -prefix=$HOME/local && make && make install | |
$ cat squid.conf | |
auth_param digest program /home/drio/dev/squid-3.4.10/helpers/digest_auth/file/digest_file_auth -c /home/drio/dev/squid-3.4.10/passwords | |
auth_param digest realm proxy | |
acl authenticated proxy_auth REQUIRED | |
http_access allow authenticated | |
http_port 18888 | |
$ htdigest -c ./passwords proxy drio | |
$ htdigest ./passwords proxy user2 | |
$ ./src/squid -N -f ./squid.conf | |
# Enjoy ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment