[SQU] ACL & Netmasks

From: Freaked Personality <freaky@dont-contact.us>
Date: Mon, 25 Sep 2000 14:00:25 +0200 (CEST)

Hey there,

I have what I think is a fairly simple question. I might already have the
solution, but it is for a customer and I can't test it her and I need to
be sure it'll work before I go there.

Ok what I wanna do is really simple, I want to allow the range
192.168.0.150 to 192.168.0.200 to use the proxy. So I used this
acl localnet src 192.168.0.150/255.255.255.205

and I think the 205 at then end of the netmask ain't doing what it's
supposed to do. The docs talk about another like possibility but this has
me wondering docs line:
acl aclname src addr1-addr2/netmask

as i figure the addr1-addr2 gives a range... but why on earth would i
wanna use a netmask then???

Anyways if anyone could help out I'd really appreciate it.
If necessary we can switch to a 64 range which gives the possibility of
using a bit netmask of let's say 6 bits so that would be 32-6=26bits which
gives
acl localnet src 192.168.0.150/26 which should allow addresses
192.168.0.150 through 192.168.0.213 to pass through the proxy. right?

anyways, any answer is greatly appreciated.

Kind regards,

Ferry van Steen

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Sep 25 2000 - 07:02:44 MDT

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