Configuration and Authentication for Proxy Squid

0 Likes

I'm sending you this little trick to configure Proxy Squid on OES Linux and get authentication for the Proxy by NDS.



This tip will help configure a Web Proxy with SQUID, using LDAP Authentication on your OES Linux system.



Installation



1) Go to YAST.



2) Select Install and Remove Software.



3) for and select "Squid".



Configuration



1) Modify the /etc/squid/squid.conf file.



2) Add the following lines:



### UNDER AUTH SECTION ###



auth_param basic program /usr/sbin/squid_ldap_auth -b "ou=users,
o=bigorg" -u cn -f "cn=%s" -D "cn=admin,o=bigorg" -w adminpassword
-h xxx.xxx.xxx.xxx -p 389

auth_param basic children 5

auth_param basic realm Adaris Technologies Proxy Authentication

auth_param basic credentialsttl 1 hour


### UNDER ACL SECTION ###



acl password proxy_auth REQUIRED


### UNDER HTTP ACCESS SECTION ###



http_access allow password


SQUID Command



Run this command:



/etc/init.d/squid {stop/start/restart/status}

Labels:

How To-Best Practice
Comment List
Related
Recommended