Originally Posted by anshoo
i m in new in squid server and i have apply one acl in squid to restrict all website porn and games and gmail and all thing and i want to give some users to gmail and facebook .
acl bad_url dstdomain "/etc/squid/block"
http_access deny bad_url
to block all user in config file so what is next acl to apply some ip to allow gmail and facebook
You need to read the squid documentation:
It has examples...did you try that? Since you can have multiple ACL's, you need to create one for the specific IP addresses, and allow them access to those sites.