hi.

that's basically how you do it.
but to lessen your pain and make it a bit organized, you can create a file, say "/your/pathTo/allowedIPs",
enumerate the IPs in the file line by line,
then edit ur squid.conf file to reflect your list

http_access myIPs src "/your/pathTo/allowedIPs"
http_access allow myIPs

God bless.

--
Glenn
http://atym4everything.blogspot.com


david t. asuncion, jr. 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 <http://192.168.1.150> 192.168.1.151 <http://192.168.1.151> 192.168.1.152 <http://192.168.1.152> till it reached 192.168.1.165 <http://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



_________________________________________________
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