11-03-2011 06:22 AM - edited 03-07-2019 03:11 AM
Can someone help on how to block internet for number of hours?
Ex. From 8am to 12 pm the staff can't access internet
Do i need application to block internet? Or it can be done via server?
Thanks
Sent from Cisco Technical Support iPhone App
11-03-2011 07:34 AM
Hi,
just use a time-based ACL on your router
time-range INTERNET
periodic weekdays 8:00 to 23:59
ip access-list extended NO_INTERNET
deny tcp any any eq www time-range INTERNET
permit ip any any
interface f0/0
ip access-group NO_INTERNET in
Regards.
Alain.
11-04-2011 07:49 AM
Block internet
I will input all of that? How can i access the router? Sorry i need your help thanks
Sent from Cisco Technical Support iPhone App
Sent from Cisco Technical Support iPhone App
11-04-2011 09:10 AM
The access-list Alain posted is just a template.
Telnet to your routers or switches and apply it where it belongs - your user's lan segment(s).
It'll just block web traffic, not telnet or https or anything else.
Ven
11-04-2011 09:23 AM
You can still do a Telnet to your device. Refer to the last ACL line:
permit ip any any
Sent from Cisco Technical Support iPhone App
11-04-2011 09:34 AM
Hi,
I just realized I forgot https in the ACL so add before the permit ip any any the following:
deny tcp any any eq 443 time-range INTERNET
Alain.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: