Seprate ACL in squid

Taking care of your Linux box.

Seprate ACL in squid

Postby Learner » Fri Sep 04, 2009 2:03 pm

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
Learner
Lance Naik
 
Posts: 41
Joined: Wed Nov 08, 2006 2:40 am

Re: Seprate ACL in squid

Postby LinuxFreaK » Sat Sep 05, 2009 1:21 pm

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
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 2 guests

cron