Re: [squid-users] Access to a range of IP addresses

From: Muthukumar <kmuthu_gct@dont-contact.us>
Date: Mon, 12 Jul 2004 13:35:11 +0530

> I tried:
> acl test4login url_regex ^http://192.168.0.

We can not use url*_regex acl's for ip-address matching. You have to use dst or dstdomain or dstdom_regex acl's for this.

> With this i thought that the users could access any address that starts
> with 192.168.0.x but i get an "access denied"

We have to use all the ip-address for blocking separately. Write into a file with all ip-address and Use that in acl type.

acl test dstdomani -i "path to file"

--- ip file --
192.16.1.1
..

It will do that.

Regards,
Muthukumar.

---
===============  It is a "Virus Free Mail" ===============
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.717 / Virus Database: 473 - Release Date: 7/8/2004
Received on Mon Jul 12 2004 - 13:04:23 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:01 MDT