cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1224
Views
0
Helpful
3
Replies

Facebook block on ASA

samith_me
Level 1
Level 1

Can you help me to block facebook on office time ( 9.00 am - 5.00 PM) on asa. I tried with time based ACL. But dificulty is facebook has lot of public IPs. from ACL can block one IP or range only. can you help me, please ?

3 Replies 3

Philip D'Ath
VIP Alumni
VIP Alumni

This is a nice simple method that blocks http and https - because it blocks the DNS queries.

 

regex domain_facebook.com "facebook\.com"

 

class-map type regex match-any DomainBlockList
  description Blocked Domains
  match regex domain_facebook.com

 

policy-map type inspect dns PM-DNS-inspect
 parameters
  message-length maximum 512

 match domain-name regex class DomainBlockList
  drop-connection log

 

policy-map global_policy
 class inspection_default
  inspect dns PM-DNS-inspect

jumora1
Level 1
Level 1

What model of ASA do you have?

Security Engineer
juanmh8419@gmail.com
Skype: juanmh8419@hotmail.com
Review Cisco Networking for a $25 gift card