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

From: derix suartyo <derix@dont-contact.us>
Date: Tue, 08 Jan 2002 10:00:17 +0700

Dear Colin,

Hmm..is it possible in squid if we'd like to block one network for not
accessing a specific url?, cause so far, i only found how to block a specific
address for not accessing a specific url.

Thank you very much.

regards,

Derix Suartyo.

Colin Campbell wrote:

> 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

--
Dë®íx Suä®työ
SysEng@Fujitsu Systems Indonesia
Cross Industry Solution Department
Jalan Cideng Timur no 55, Jakarta 10160
Tel:62-21-3442601 (ext 453)
Fax:62-21-3442595
http://www.systemwalker.com
-=GOD is the master of my fate; GOD is the captain of my soul=-
Received on Mon Jan 07 2002 - 19:53:46 MST

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