Re: [squid-users] allowing a only range of host in a network...

From: Michael Wagner <[email protected]>
Date: Tue, 4 Dec 2001 15:51:18 +0100

Am Tuesday, 04. Dec. 2001, schrieb Irvin S Panes

> Our net work has the ip-range of 192.168.0.0/24, the ip of our squid server
> is 192.168.0.37. My question is how do we configure acl to allow only a range of
> ip-address in our network instaed of allowing all from 192.168.0.1-254???
>
> we would like to allow only ip's from 192.168.0.37-192.168.0.100 to access the
> cache, im not sure the correct syntax in acl for this imean is it correct if i put
>
>
> acl netok src 192.168.0.37-192.168.0.100 ---> is this scheme supported
> coz the only way i know is to list
> all the ips from 37-100 indivivually

Hello Irvin,

when I look in my squid.conf in the area ACCESS CONTROLS, everything
seems ok with your acl-scheme. You only need the netmask behind the
range of the ip-adresses. The other thing you could do, is to write
acls with the name of your domain. I think it is very good described
in the squid.conf how to access only a part of the LAN.

CU Michael

PS: Please excuse my english, I know it is not the best. ;-)

-- 
GUI => Girls use it
Received on Tue Dec 04 2001 - 08:22:44 MST

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