try something like
acl goodsites dstdom_regex allowed.com|alsoallowed.com|otherallowed.com
#double check that in manual. Cant remem exact method but I think its
right.
acl theoffice src 10.0.0.0/255.255.255.0
acl badguys src 10.0.0.5/255.255.255.255-10.0.0.10/255.255.255.255
http_access deny badguys !goodsites
http_access allow theoffice
Good luck.
Dave.
OpteqSec.
----- Original Message -----
From: "Micheal Young" <netadmin@zonecom.com>
To: "Dave Raven" <dave@reason.za.org>
Sent: Tuesday, February 05, 2002 8:00 PM
Subject: Re: [squid-users] question
> On Tuesday 05 February 2002 10:58 am, you wrote:
>
> Problem with this is that i need to set ip up for just a few ip's on the
> network and not for all the ip's
> How do i tie in url_regex with the 4 or 5 ip address's i need to limit but
> leave the other ip's capable of accessing everything.
>
>
> > It can be done with squid if you want caching etc.
> > look into url_regex and acls in the manual
> >
>
Received on Tue Feb 05 2002 - 11:33:46 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:11 MST