Regarding Squid ACL rules
I am new user for this site and also for linux, I have installed squid on RHEL-5, and created one file for site blocking, this site blocking applying for all users, now i wanted to give permission to particular IP ex: 172.16.4.50 (facebook access permission) how to do?
MY SQUID.CONF ACL RULES:
acl business_hours time S M T W H F A 00:01-23:59
acl blocksite url_regex -i "/etc/squid/blocksite.txt"
acl freetime time S M T W H F A 09:00-18:00
http_access deny blocksite freetime
http_access allow blocksite
I have tried below things,
acl special_client src 172.16.4.50
acl facebook dstdomain .facebook.com
acl orkut dstdomain .orkut.com
http_access allow facebook special_client
http_access deny facebook
http_access deny orkut
http_access allow all
This is not working....
Please help me on this,
Thanks and Regards,