Search squid archive

Re: deny specific ip access to specific domain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/7/07, Michael Gichoga <michael_gichoga@xxxxxxxxxx> 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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux