On 3/7/07, Michael Gichoga <[EMAIL PROTECTED]> wrote:


I'm fairly new to squid and I want to implement a policy to deny a
specific ip access to a particular domain e.g ebay.com How can I make
this work with acls?

Try something like

acl ebay dstdomain .ebay.com
acl restrict_ip src IP_TO_BE_RESTRICTED/NETMASK

http_access deny ebay restrict_ip

Be sure to place the http_access statement *before* other less
restrictive http_access statements. Rules are processed in the order
they appear.

Also see: http://www.visolve.com/squid/squid24s1/access_controls.php
for more info on access controls in squid.

Chris

Reply via email to