Hi,

If you've copy-paste that rule from your squid.conf file, you may want to double check it, I think I saw a space between 192.168.1.165 and /255.255.255.0   :-)

You can also try to use CIDR notation to save some bytes :-)
try something similar below

http_access allowedpc src 192.168.1.150-192.168.1.165/32

Regards,
-jond3rd-



On 7/4/06, david t. asuncion, jr. <[EMAIL PROTECTED]> wrote:
How do I allow access for a certain IP range only, e.g. 192.168.1.150-192.168.1.165/255.255.255.0?

#############################################################
http_access allowedpc src 192.168.1.150-192.168.1.165 /255.255.255.0

http_access allow allowedpc
#############################################################

...... the above config didn't didn't worked for me.

What worked for me, however, is

##################################################################################
http_access allowedpc src 192.168.1.150  192.168.1.151  192.168.1.152 till it reached 192.168.1.165

http_access allow allowedpc
##################################################################################

I got a feeling there is a better way how to do it.  Please let me know.  Still a newbie, always.

--
David Tacasa Asuncion, Jr.
website keeper, forever linux newbie, BUM extraordinaire

Linux User # 406430
http://counter.li.org/

GPG: 0A024BC0

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph




--

Keyboard error, press F1 to continue
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to