Re: [squid-users] Howto protect one network using ACL?

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Tue, 8 Jan 2002 12:46:38 +1000 (EST)

Hi,

On Tue, 8 Jan 2002, derix suartyo wrote:

> #defaults:
> acl localhost src 127.0.0.1/255.255.255.255
> acl localnet1 src 192.168.1.0/255.255.255.0
> acl localnet10 src 192.168.10.0/255.255.255.0
> #blocking rule
> acl localnet10 url_regex ^http://http.msg.yahoo.com
> acl WORKING time MTWHF 17:00-08:00
> acl WORKING2 time MTWHF 12:00-13:00
> #http_access:
> http_access allow localnet10 WORKING
> http_access allow localnet10 WORKING2
> http_access deny localnet10
>
> but after i applied this configuration, all network could not accessing
> the internet even in the network 8.0
>
> Please let me know how to fix this problem. thank you very much.

For a start, you (appear to) have the acl "localnet10" defined twice.

Colin
Received on Mon Jan 07 2002 - 19:46:48 MST

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