InterviewSolution
| 1. |
Allow Internet Access During Particular Period Of Time ? |
|
Answer» EDIT the file ‘/etc/squid/squid.conf’ and add the below rules : acl allowed_clients src 192.168.1.1/255.255.255.0 acl regular_days TIME MTWHF 10:00-16:00 http_access allow allowed_clients regular_days http_access deny allowed_clients This will allow the ACCESS to all the clients in network 192.168.1.1 to access the net from Monday to FRIDAY from 10:00am to 4:00 PM. Edit the file ‘/etc/squid/squid.conf’ and add the below rules : acl allowed_clients src 192.168.1.1/255.255.255.0 acl regular_days time MTWHF 10:00-16:00 http_access allow allowed_clients regular_days http_access deny allowed_clients This will allow the access to all the clients in network 192.168.1.1 to access the net from Monday to Friday from 10:00am to 4:00 pm. |
|