Re: [squid-users] IP sequence question

From: Muthukumar <kmuthu_gct@dont-contact.us>
Date: Tue, 12 Oct 2004 16:18:04 +0530

>
> acl TRAINING_PC src 192.168.193.3 192.168.193.4 192.168.193.5
> 192.168.193.6 192.168.193.7 192.168.193.8 192.168.193.9 192.168.193.61
> 192.168.193.63
>
> Can I specify 192.168.193.3-9 ? Is there a way, other that to use
> netmasks to prevent typing them one by one ?

We can use range of ip-address there. Try to use format as,

 acl <aclname> src IP-address-start-IP-end/netmask

 acl TRAINING_PC src 192.168.193.3-9/24

Refer http://squid.visolve.com/squid/squid24s1/access_controls.htm#acl for examples.

REgards
Muthu

---
===============  It is a "Virus Free Mail" ===============
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.775 / Virus Database: 522 - Release Date: 10/8/2004 
Received on Tue Oct 12 2004 - 04:49:01 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST