Re: [squid-users] Making ACL for an IP range

From: Maham Nasim <maham.nasim@dont-contact.us>
Date: Tue, 10 May 2005 11:17:26 +0500

Dear Ivan
               For and IP to IP you can define as follow

acl pc1 src 192.168.1.30/255.255.255.255
http_access allow pc1
acl pc2 src 192.168.1.31/255.255.255.255
http_access allow pc2

regrds
Maham
Pakistan

On 5/10/05, Ivan Petrushev <ivanatora1@abv.bg> wrote:
> Hello :-) That's my first mailist posting but I hope I'll get the
> basics soon. Please excuse my poor english.
> The problem I'm trying to solve is how to make ACL responding for a
> range of IPs (not the whole subnet). If I wanted to make the ACL
> responding for the whole subnet I would use CIDR or dotted notation
> like:
> acl mynetwork src 192.168.1.1/255.255.255.0
> or
> acl mynetwork src 192.168.1.1/24
> I want that acl 'mynetwork' to respond only for IPs 192.168.1.30 -
> 192.168.1.47 (for example). That is neither a subnetwork and can't be
> done via the upper examples. So can I use (from IP) (to IP) range in
> squid.conf and what is the exact syntaxis? I haven't seen anything
> like that in the online documentation, but that doesn't mean it
> doesn't exist :-)
>
> Greetings, Ivan Petrushev.
>
> -----------------------------------------------------------------
> http://host.GBG.bg - лидер в Уеб Хостинг решения и регистрация на Домейн имена
>
Received on Tue May 10 2005 - 00:17:28 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:02 MDT