[squid-users] acl mix dstdomain src

From: Diego Rojas <diego.rojas@dont-contact.us>
Date: Tue, 4 Dec 2001 09:05:21 -0600

Hi All,

Running 2.3.stable4-10 and looking to let access to only certain web pages
for one of the local networks (10.10.10.0) and to let free access to
another local network (192.168.1.0). Problem: The restriction for the
network 10.10.10.0 is taking effect for the 192.168.1.0.

Here my acl and http_access:

acl all src 0.0.0.0/0.0.0.0
acl restricted src 10.10.10.0/255.255.255.0 ->correct netmask
acl free src 192.168.1.0/255.255.255.0 ->correct netmask
acl weballowed dstdomain www.pageiwantletaccess.com
http_access allow restricted weballowed
http_access deny restricted
http_access allow free
http_access deny all

Next to that i use service squid restart, test and the network 192.168.1.0
can only reach www.pageiwantletaccess.com as the network 10.10.10.0, and i
want to let free access to that 192.168.1.0. I understand the acl´s like an
if on c++, is it not ?

Diego Felipe Rojas
Information Technologies
www.turnkeynet.net
57 3 4750084
Received on Tue Dec 04 2001 - 07:01:20 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:10 MST