[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: squid



Andreas Maier schrieb am Donnerstag, 26. Januar 2006 um 14:58:10 +0100:
> Hallo!
> Habe folgendes Problem:
> Ich möchte ein Class C Netz (10.237.61.0/24) in 3 Bereiche aufteilen.
> Und zwar soll ein Bereich immer Zugriff haben (acl immer src
> 10.237.61.224-10.237.61.254), ein Teil nur nachts (18:00-08:00) (acl
> nachts 10.237.61.1-10.237.61.37) und der dritte Teil gar nicht. Aber
> egal wie ich die Regeln drehe, ich bekomm es nicht hin.
> Hat jemand ne Idee?
> 

naja, stimmt doch schon fast:

acl ip_immer src 10.237.61.224-10.237.61.254/32
acl ip_nachts 10.237.61.1-10.237.61.37/32
acl ip_garnicht 10.237.61.38-10.237.61.223/32
acl time_nachts1 time  18:00-23:59
acl time_nachts2 time 00:00-07:59
http_access allow ip_immer
http_access allow ip_nachts time_nachts1
http_access allow ip_nachts time_nachts2
http_access deny all

-- 
Jörg Friedrich

There are only 10 types of people:
Those who understand binary and those who don't.



Reply to: