cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1004
Views
10
Helpful
5
Replies

block internet

cmantazo30
Level 1
Level 1

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

5 Replies 5

cadet alain
VIP Alumni
VIP Alumni

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.
Don't forget to rate helpful posts.

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

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

Ven Taylor

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

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.

Don't forget to rate helpful posts.
Getting Started

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:

Review Cisco Networking products for a $25 gift card