Adam McCarthy wrote:
> I already have my squid so that it will deny users access to any site
> unless it's one of three specified.
>
> My question is, now, in this example, how would I tell Squid, to say
> only restrict say 192.168.0.120-192.168.0.125 to those 3 sites?
>
> acl localnet src 192.168.0.0/16
> acl AllowedSites dstdom_regex "/etc/squid/allowed-sites"
> http_access allow AllowedSites
> http_access deny !AllowedSites
> http_access allow localnet
Combine the ACL names on one http_access line produces a boolean AND
condition between them.
AMos
-- Please use Squid 2.7.STABLE4 or 3.0.STABLE9Received on Thu Sep 18 2008 - 06:15:10 MDT
This archive was generated by hypermail 2.2.0 : Thu Sep 18 2008 - 12:00:02 MDT