AOA,
I need ACL for the following scenario:
If user "A" with IP "192.168.0.3" then authenticate
If user "B" with IP "192.168.0.7" then authenticate
If user "C" with IP "192.168.0.12" then authenticate
Means if user login with username with specific IP then squid authenticate otherwise block it request.
Squid ACL
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear refra,
Salam,
Try this configuration.
Salam,
Try this configuration.
Best Regards.auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Squid - Server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
acl password proxy_auth REQUIRED
acl client1 src 192.168.0.3
acl client2 src 192.168.0.7
acl client3 src 192.168.0.12
http_access allow client1 password
http_access allow client2 password
http_access allow client3 password
http_access deny all
Farrukh Ahmed