This repository was archived by the owner on Jun 13, 2025. It is now read-only.
forked from amoschov/TideSDK
-
Notifications
You must be signed in to change notification settings - Fork 2
Setup Squid Proxy
mital edited this page Oct 7, 2012
·
5 revisions
- Refer Squid Setup for ubuntu Guide for setting up the squid proxy.
Perform following modifications to your "/etc/squid3/squid.conf"
#http_port 3128
http_port 8888
http_access allow all
#http_access allow manager localhost
#http_access deny manager
$ sudo service squid3 restart
- A nice guide to setup squid with NCSA
# Create squid_passwd file
$ touch /etc/squid3/squid_passwd
$ chmod o+r /etc/squid3/squid_passwd
# Adding user "test"
htpasswd /etc/squid/squid_passwd test
New password:
Re-type new password:
Adding password for user test
# find your ncsa_auth file
$ locate ncsa_auth
/usr/lib/squid3/ncsa_auth
#
# Add this to the auth_param section of squid.conf
#
auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid3/squid_passwd
#
# Add this to the bottom of the ACL section of squid.conf
#
acl ncsa_users proxy_auth REQUIRED
#
# Add this at the top of the http_access section of squid.conf
#
http_access allow ncsa_users
$ sudo service squid3 restart