Re: [squid-users] deny specific ip access to specific domain

From: Chris Nighswonger <cnighswonger@dont-contact.us>
Date: Wed, 7 Mar 2007 15:31:21 -0500

On 3/7/07, Michael Gichoga <michael_gichoga@usd465.com> 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
Received on Wed Mar 07 2007 - 13:31:55 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:01 MDT