Re: ACL info

From: Edwin Culp <eculp@dont-contact.us>
Date: Thu, 24 Apr 1997 08:31:09 -0500

Francis Vidal wrote:
>
> hello squiders!
>
> i just installed Squid 1.1.9 on my system and i want to grant access only
> to those machines that have the IP address 202.47.133.34 - 202.47.133.46
>
> what i did was to define an ACL entry in squid.conf:
>
> acl MySite src 202.47.133.34-202.47.133.46/255.255.255.240

I don't understand your netmask. I assume what you want is /32 or
255.255.255.255.
Or I suppose you could use the subnet 202.47.133.32/28 to get almost the
same result
except 202.47.133.33 would be included and you don't seem to want that.
Hope this helps

Ed

> http_access allow MySite
> icp_access allow MySite
>
> but i got an access denied message when i tried to access a page from one
> of the machines (202.47.133.41). what's wrong here? thanks!
>
> ---
>
> [ francis vidal ] systems administrator, @usls, univ. of st. la salle
> la salle avenue, bacolod city http://www.usls.edu +63(34) 435-2324
> ---------------------------------------------------------------------
> P G P key available at - - ftp://ftp.usls.edu/pub/pgpkey/francis.pgp
Received on Thu Apr 24 1997 - 06:44:54 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:02 MST