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:
- What is Squid?
- What is Proxy Server? What is the use of Proxy Server in Computer Networks?
- What is the default port of squid and how to change its operating port?
- How to block certain domains through squid proxy server in an office ?
- What is Media Range Limitation feature in squid?
- What is partial download feature in Squid?
- What is reverse proxy feature in squid?
- What is the cache store location in squid?
- What is the squid cache file format?
- How to clear cache in squid?
- How to restrict web access time in squid?
No comments:
Post a Comment
Dear visitor,
Please do not post spam. All comments will be moderated before approval.