Re: [squid-users] acl problem

From: Guido Serassio <serassio@dont-contact.us>
Date: Mon, 15 Jul 2002 10:46:01 +0200

Hi,

Il 09.22 15/07/2002 Ritesh Patel ha scritto:
>
>
>
>Hii all,
>
>I'm using squid 2.3 stable 5 for Win NT.
>I want to give IP based restrictions to my users,i've configures the same
>but it doesn't work.
>I've configure particular IP to surf on particular time but it's allow
>user to surf all the time.
>
>i'm attaching my squid.conf file...pls help me...
>
>
>Regards,
>
>Ritesh

Wrong mask, You are specifying hosts, not a network, use :

acl mkt src 192.168.100.21-192.168.100.35/255.255.255.255
acl prt src 192.168.100.36-192.168.100.50/255.255.255.255
acl r&d src 192.168.100.51-192.168.100.65/255.255.255.255
acl eng src 192.168.100.66-192.168.100.75/255.255.255.255
acl prd src 192.168.100.76-192.168.100.99/255.255.255.255
acl mite src 192.168.100.101-192.168.100.125/255.255.255.255
acl acc src 192.168.100.126-192.168.100.135/255.255.255.255

Regards

Guido

-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
E-mail: guido.serassio@serassio.it
WWW: http://www.serassio.it
Received on Mon Jul 15 2002 - 02:46:06 MDT

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