Re: [squid-users] acl inquiry

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Tue, 14 Aug 2001 13:35:24 +1000 (EST)

Hi,

On Tue, 14 Aug 2001, dwen siapno wrote:

> Is this possible ?
>
> allow this :
> 192.168.1.0 to 192.168.1.30
>
> deny this:
> 192.168.1.31 to 192.168.1.160
> A
> allow this:
> 192.168.1.161 to 192.168.1.254
>
> how do i configure this on squid ?

Read squid.conf, particularly the parts describing "acl". You might just
finish up with something like:

acl ok000030 src 192.168.1.0-192.168.1.30
acl bad031160 src 192.168.1.31-192.168.1.160
acl ok161254 src 192.168.1.161-192.168.1.254

http_access allow ok000030
http_access deny bad031160
http_access allow ok161254

Colin

--
Colin Campbell
Unix Support/Postmaster/Hostmaster
CITEC
+61 7 3006 4710
Received on Mon Aug 13 2001 - 21:35:38 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:36 MST