0

How to configure ACL time limit with squid

Hello i have configured squid proxy server .., i need to configure time limit which means all squid user will works specfic time limit ... how to configure this settings in squid....?

Squid Add a comment
xander
asked Sep 18 2017

Answer

0

create a text file under /etc/squid/ and enter the time range to configure time limit..

# vim /etc/squid/time.txt
11:00-11:15
14:00-14:15

now configure acl rule... on /etc/squid/squid.conf file.

acl test src 192.168.7.210 192.168.7.211

acl downtime  time  "/etc/squid/time.txt"

http_access deny test downtime  

http_access  allow test

and finally restart the squid service.

Add a comment
arunkumarak
asked Sep 18 2017
edited Oct 05 2018
Post your Answer