Seprate ACL in squid

Taking care of your Linux box.
Post Reply
Learner
Lance Naik
Posts: 41
Joined: Wed Nov 08, 2006 2:40 am

Seprate ACL in squid

Post by Learner »

AOA

Dear All

I am using SQUID 2.7.STABLE6 on FreeBSD. Its working fine. I have blocked site like youtube, facebook etc by using

acl bs url_regex -i "/usr/local/squid/etc/bs"

http_access deny bs

and "BS" is the test file containing blocked sites list.

Now my management wants that for senior staff their should be no restriction on any site so please guide me that how can I do this, Seprate ACL for different IPs.
Thanks & Regards


Muhammad Ali
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re: Seprate ACL in squid

Post by LinuxFreaK »

Dear Learner,
Salam,
Learner wrote:I am using SQUID 2.7.STABLE6 on FreeBSD. Its working fine. I have blocked site like youtube, facebook etc by using

acl bs url_regex -i "/usr/local/squid/etc/bs"

http_access deny bs

and "BS" is the test file containing blocked sites list.

Now my management wants that for senior staff their should be no restriction on any site so please guide me that how can I do this, Seprate ACL for different IPs.
You can create separate acl for your senior staff and allow them bs.

Code: Select all

acl management src 192.168.129.200
acl management src 192.168.129.101

http_access allow bs management
http_access deny bs
Best Regards.
Farrukh Ahmed
Post Reply