05-21-2013 05:43 PM - edited 03-11-2019 06:46 PM
dear experts
I am using ASA5505 and I would like to block certain websites such as facebook.com on some users only
any idea how to do it ?
many thanks in advance & best regards !
Tee
05-21-2013 06:36 PM
MPF and Regex will do it for you man
http://www.cisco.com/en/US/products/ps6120/products_configuration_example09186a0080940e04.shtml
Regards
05-21-2013 07:44 PM
MPF and Regex will work for HTTP traffic not HTTPS since MPF cannot read the contents of the encrypted packets.
You want to do this on the DNS lookups level but if you do it on your DNS server, you can block facebook access for everyone but pointing an A-record of www.facebook.com to 127.0.0.1 or another non routable ip address...
For best results, you need a URL filtering solution or application firewall: ex: ASA-CX, Cisco WSA, websense or several others...
Something you can consider is identity-firewall combined with FQDN ACL:
As of 8.4(2) you can configure identity firewall so you can add access-list with Microsoft Active Directory usernames or groups instead of IP addresses:
http://www.cisco.com/en/US/docs/security/asa/asa84/configuration/guide/access_idfw.html
You can also create network objects with FQDNs ex: www.facebook.com instead of IP addresses and run DNS lookups from the ASA to resolve that. The issue here is that several websites are dynamic in nature and reply with dns records that have a very short time to live; so use with care. You should take a look at this document:
https://supportforums.cisco.com/docs/DOC-17014
Hope that helps,
Patrick
05-27-2013 05:34 PM
thanks mate, i think point it to 127.0.0.1 is the best option but may i know where & how to do it
i am very new to ASA5505 and Windows Server
thanks !
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