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

reg:site blocking on router

Dear sir,

i have cisco 1841 router and i want to block some of the sites is given below

i want to block the site like youtube,sex.com,zapak.com,games.com,pron.com,songs.com,

and also provide me the path how to block the sites

so that i can also block the site

Like this router is enough or i want to go for firewall,

plz give me ur suggessions.

Thanks&Regards

srini

2 REPLIES

Re: reg:site blocking on router

You can use NBAR for same as follows.

class-map match-any block-sites

match protocol http url "youtube.com"

match protocol http url "games.com"

policy-map mark-blocked-sites

class block-sites

set ip dscp 1

int fa 0 /0

description---LAN Interface---

service-policy input mark-blocked-sites

access-list 101 deny ip any any dscp 1

access-list 101 permit ip any any

int serial 0

description---WAN INTERFACE---

ip access-group 101 out

HTH...rate if helpful..

126
Views
4
Helpful
2
Replies
CreatePlease to create content