reg:site blocking on router

Unanswered Question
Sep 4th, 2008
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
satish_zanjurne Thu, 09/04/2008 - 02:55
User Badges:
  • Silver, 250 points or more


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

Actions

This Discussion