Try:
acl mynetips src "/path/to/mynetips"
acl all src 0.0.0.0/0.0.0.0
acl LocalNet src 80.0.0.0/8
http_access allow mynetips
http_access deny LocalNet
http_access deny all
Best regards,
Ilker G.
> Kimden: nirav.joshi@icubix.com [mailto:nirav.joshi@icubix.com]
> Tarih: Wednesday, February 07, 2001 6:05 PM
> Kime: squid_faq
> Konu: [SQU] About HTML access
>
>
> Dear sir,
>
> I have configured SQUID.CONF file as below for IP wise
> restrictions.
>
> acl mynetips src "mynetips"
> acl all src 0.0.0.0/0.0.0.0
> http_access allow mynetips
> http_access deny all
>
> Where the file "mynetips" contains following ip's.
> 80.0.5.1
> 80.0.5.2
>
> Submask for my network is 255.0.0.0
>
> In this condition for client who has ip
> 80.0.5.3/255.0.0.0 http access is
> deny.
>
> But if this client change his/her submask like
> 80.0.5.3/252.0.0.0,he/her is
> allow
>
> to access http,so my IP wise ristrictions fails.
>
> Please help me to come out from this problem.
>
>
> Thanking you
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>
Bu e-postada bulunan t�m fikir ve g�r�sler ve ekindeki dosyalar sadece adres
sahib(ler)ine ait olup, S�merbank A.S hi� bir sekilde sorumlu tutulamaz.
The information contained in this E-Mail and any files transmitted with it
are intended solely for the use of the individual or entity to whom they are
addressed and do not reflect those of Sumerbank A.S.
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Thu Feb 08 2001 - 02:35:55 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:55 MST