[squid-users] Using both src and dst ACLs in a single http_access rule

From: <tony.carter_at_industry.nsw.gov.au>
Date: Fri, 30 Jul 2010 12:09:42 +1000

squid 2.7 STABLE4

We have a situation where we want to, on a single proxy server, keep a
student subnet limited to internet access only while the remainder of the
organisation can access both internal networks and the internet. Currently
we have acls and http_access rules set up for internal users only

Is it possible to specify both a src and dst acl in one http_access rule,
ie, in one rule can I specify both src and dst limitations for the student
subnet

eg,
acl limitedsrc src [IP Range...]
acl limiteddst dst [IP Range...]
http_access allow limitedsrc limiteddst

I tried it out and it doesn't seem to work but I'd like to get some
feedback on how I can best configure this. I checked the ACL FAQ on
squid.org but nothing jumped out.

Thanks in advance
Tony

This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of their organisation.
Received on Fri Jul 30 2010 - 02:09:55 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 30 2010 - 12:00:04 MDT