cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
466
Views
0
Helpful
2
Replies

Blocking secure sites

jeevan.koganti
Level 1
Level 1

Hi Everyone,

I using 881 cisco router and want to block secure sites. I am using classmap to block sites and accesslist to block secure sites. Now the issue is if i need to block youtube, and if doing tracert the IP of google and youtube is in the same subnet.

If i am blocking that IP, google is also blocking with youtube which i does not want. Plz help me in blocking youtube secure site only.

I am also attaching tracert for both the sites.

Thanks,

2 Replies 2

SOcchiogrosso
Level 4
Level 4

Easiest thing to do is going to be configure NBAR and do inspection on HTTP packets, looking for the websites you wanting to block

Here is old CBAC example, you can do with zone based firewalls as well.

https://supportforums.cisco.com/docs/DOC-20563


--
CCNP, CCIP, CCDP, CCNA: Security/Wireless
Blog: http://ccie-or-null.net/

-- CCNP, CCIP, CCDP, CCNA: Security/Wireless Blog: http://ccie-or-null.net/

Rick Morris
Level 6
Level 6

This is a link to help you do what you are asking

http://www.techrepublic.com/article/block-access-to-a-web-site-using-the-cisco-ios/6115879

Router(config)# access-list 101 deny tcp any host www.youtube.com eq www 
Router(config)# access-list 101 permit tcp any any eq www

In order to use the URL in the ACL you will need to define a DNS server for the router to use.

Router(config)# ip name-server 4.1.1.1 4.2.2.2 (use whatever DNS servers you have access to)

Then apply the ACL to the interface
Review Cisco Networking for a $25 gift card