squid acl how to block all site except some
Hi, alll
i need to block all the connection to the web My users have to go only on a restricted number of site thet i want to manage with a file. something like a whitelist. thank you very much and Merry Christmas Mik |
You can do that in your squid.conf using an acl like
acl whitelist dstdomain "/etc/squid/whitelist" http_access deny !whitelist and a whitelist that looks like .slashdot.org .linuxquestions.org Another option would be to use an acl with "dst (ip-address/netmask)" instead of "dstdomain (.linuxquestions.org)". Modify to your needs, there are tons of other options described in the squid.conf comments. Cheers, n. |
All times are GMT -5. The time now is 01:56 AM. |