11-19-2015 04:58 AM - edited 03-01-2019 02:57 PM
How to block facebook(including android apps for facebook) completely from my network.Please share a sample configuration.
11-20-2015 09:05 PM
You can use an ACL to block a website matching the FQDN. but Even in that case, the website might be reachable as a FQDN might be mapped to multiple IP addresses.
Please refer to the below document as it shows an example to block a website.
https://supportforums.cisco.com/document/66011/using-hostnames-dns-access-lists-configuration-steps-caveats-and-troubleshooting#Multiple_hostnames_resolve_to_the_same_IP_address
Hope this helps.
Regards
Vinit
11-20-2015 09:07 PM
Though, as a sample configuration, you can use as below:
access-list 101 deny tcp any host facebook.com eq www
access-list 101 permit ip any any
(Interface applied to):
int fa 0/1
ip access-group 101 out
But you will still need to deny any other IP's that the website may have (either for mobile app or the web).
Thanks
Vinit
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