RE: Two simple questions

From: Ilker Gokhan <IlkerG@dont-contact.us>
Date: Thu, 22 Jun 2000 16:29:29 +0300

Sorry, No like this:
acl client1 src 10.10.1.12/255.255.0.0

Correct:
acl client1 src 10.10.1.12/255.255.255.255

-----Original Message-----
From: Ilker Gokhan
Sent: Thursday, June 22, 2000 2:43 PM
To: 'Abid Latif Sheikh'
Cc: squid-users@ircache.net
Subject: RE: Two simple questions

>-----Original Message-----
>From: Abid Latif Sheikh [ mailto:alatif@lums.edu.pk
<mailto:alatif@lums.edu.pk> ]
>Sent: Thursday, June 22, 2000 12:54 PM
>To: squid-users@ircache.net
>Subject: Two simple questions
>
>
>Hi:
>
>I have two questions to ask:
>
>1. My squid box is with the IP 192.2.2.1 and I have allowed the whole
>class i.e. 192.2.2.1 to 192.2.2.254 for http access. However I need to
>make an acl to block ONLY ONE IP i.e. 192.2.2.10. How can I do
>this ? If
>it is in FAQ please refer me.

Hi = Selamun Aleykum

Simple:
acl LAN src 10.10.0.0/255.255.0.0
acl client1 src 10.10.1.12/255.255.0.0
........
http_access deny client1
http_access allow LAN
http_access deny all

Best regards,
Ilker G.
Received on Thu Jun 22 2000 - 07:31:49 MDT

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