09-14-2017 03:03 AM - edited 02-21-2020 06:18 AM
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 ?
09-14-2017 03:15 AM
Take a look on this post:
https://supportforums.cisco.com/t5/firewalling/how-to-block-facebook-using-asa/td-p/1726664
09-14-2017 05:49 AM
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
09-14-2017 08:27 AM
What model of ASA do you have?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide