Re: [squid-users] Help with ACL?

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Wed, 11 Apr 2001 10:52:24 +1000 (EST)

Hi,

On Tue, 10 Apr 2001, Jeff Bethke wrote:

> Can someone please help me?
> I want squid to block on person but let everyone else through!
> Right now I have these two acls that I think have something to do with
> it...
> acl all src 0.0.0.0/0.0.0.0 #Im guessing that this acl declares call
> can go through.
> acl test src 156.119.80.193/255.255.254.0 #this is the IP that I don't
> want to use the
> proxy-cache
>
> I then do:
> http_access allow all
> http_access deny test

As someone said, swap them. However I think you need to get rid of the
255.255.254.0 netmask because you will end up blocking everyone on
156.119.80.* and 156.119.81.*.

Colin
Received on Tue Apr 10 2001 - 18:53:22 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:16 MST