I 've made a mistake so what i want is users can access Internet, except these 
two periods where they can access only few sites defined in the file.
I'll try next monday and come back here.
Thanks !

> To: squid-users@lists.squid-cache.org
> From: squ...@treenet.co.nz
> Date: Fri, 13 Nov 2015 21:42:59 +1300
> Subject: Re: [squid-users] ACL and http_access
> 
> On 13/11/2015 8:31 p.m., Magic Link wrote:
> > What i want if it's possible is : Users can't access Internet, except
> > during two periods each day i 'll define. During these two periods,
> > they can access only a few sites i define in the file (basic url http
> > or https per line)I have to know if it's possible with Squid ? or
> > Squidguard ? Or not at all ? Thank you !
> 
> The answer is "Yes".
> 
> Anthony already gave you the config that does it.
> 
> >> From: Antony.Stone
> >>
> >> I would suggest (assuming your regex list is good) trying:
> >>
> >> http_access allow localhost
> >> http_access allow network working_hours whitelist
> >> http_access allow network out_working_hours whitelist
> >> http_access deny all
> >>
> >> The above should allow access from 10.2.0.0/16 to the sites in your regex 
> >> list 
> >> between the hours 09:30-10:30 and 17:30-18:30 M-F
> >>
> 
> 
> Amos
> 
> _______________________________________________
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
                                          
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to