The Technology Magazine.

Full width home advertisement

Android

Linux

Post Page Advertisement [Top]

How to restrict web access time in squid?


Say the web access allow time be  4:30pm  to 7:30pm , Monday to Friday.

a. To restrict web access between 4:30pm to 7:30pm from Monday to Friday, open the Squid configuration file.

# vi /etc/squid/squid.conf

b. Add the following lines and save the file and exit.

acl ALLOW_TIME time M T W H F 16:30-19:30

shttp_access allow ALLOW_TIME

c. Restart the Squid Service.

# service squid restart

Other Squid interview Questions:

No comments:

Post a Comment

Dear visitor,
Please do not post spam. All comments will be moderated before approval.

Bottom Ad [Post Page]

| Designed by Techeia.com