Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

block internet

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
Purple

block internet

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.
New Member

Re: block internet

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

Bronze

block internet

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

Re: block internet

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

Purple

block internet

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.
676
Views
10
Helpful
5
Replies