Hi,
acl allowedsites dstdomain "/usr/local/squid/etc/allowedsites.dat"
acl allowedsrc src 172.16.1.0/24
http_access allow allowedsites allowedsrc
http_access deny all
allowedsites.dat should be something like this...
.mydomain.com
.allowedsites.com
Regards,
Squid@Visolve.com
www.visolve.com
> Hi all,
> I am having problems setting up some acl rules and I was hoping that
> someone could help me.
>
> What I am trying to do is set up squid so that on SPECIFIC ip addresses
> it
> will ONLY allow access to our web site and web sites that relate to our
> industry. For example allow access to any .mydomain.com web site (our
> external and internal web pages and specific domains that I want ... for
> example .allowed.com), BUT block access to ALL other sites such as
> yahoo.com
> and such.
>
> So for each ip that I set up it would allow access to mydomain.com and
> allowed.com BUT block access to ALL others.....
>
> thanks!!
>
> dougc
>
> ps there would be LOTS of allowed.com's (20 or such)
Received on Sun Apr 15 2001 - 23:49:40 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:19 MST