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

From: derix suartyo <derix@dont-contact.us>
Date: Tue, 08 Jan 2002 09:48:30 +0700

Dear Squid user,

My name is derix from jakarta, indonesia and i have a problem regarding
ACL in squid.conf
Currently we have 2 network, lets say 192.168.1.0/24 and
192.168.10.0/24. And i would like to give an access-list in network 10.0
for not accessing yahoo messenger in the office hour but still able to
chat in lunch time and their still can browse the internet for the whole
day

This is my configuration in the squid.conf: (fyi, my squid version is
Squid Cache: Version 2.4.STABLE2)

#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.

regards,

--
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:42:00 MST

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