[squid-users] Merge of acl

From: sasa <sasa@dont-contact.us>
Date: Mon, 5 Dec 2005 16:47:31 +0100

Hi, I have necessity of:

- permit always http access only two ip addresses of my LAN (10.0.0.1 and
10.0.0.2)
- from 13:00 to 14:00 permit all ip addresses of my LAN to http access
- permit always all ip addresses of my LAN to use mail (port 25 and 110)

..but as I make to merge more acls ??
I think that:

acl all src 0.0.0.0/0.0.0.0
acl local_net src 10.0.0.0/255.255.255.0
acl local
acl ipok1 10.0.0.1/255.255.255.255
acl ipok2 10.0.0.2/255.255.255.255
acl Safe_ports port 25 110
acl timeok time 13:00-14:00

http_acceess deny !Safe_ports
http_access deny !ipok1, !ipok2

.. and then ??
..sorry for my confusion !
thanks.

------
Salvatore.
Received on Mon Dec 05 2005 - 08:47:43 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 31 2005 - 12:00:02 MST