Squid Syntax
hello friends can anyone pls show how to block all websites and ports using squid and allow only those i will specify. i really neede badly for my work.
|
There's a useful document at http://wiki.squid-cache.org/SquidFaq/SquidAcl that describes different configurations for Squid. Have you had a look at it yet or do you have any specific problems with creating your access lists?
|
-yes i do have a problem in creating acl. i dont know the exact order of placing acl tags.
-also i tried using this tag to whitelist all websites except google but even google is not accessible acl allowedwebsite dstdomain .google.com http_access deny !allowedwebsite |
Reading through the squid.conf on my system, it looks as though the default is to deny all. Can you try something like the following and see if it works?
Code:
acl allowedwebsite dstdomain .google.com |
All times are GMT -5. The time now is 08:19 AM. |