03-06-2013 11:05 PM - edited 03-11-2019 06:10 PM
I want to block accessing a link in my org like- www.yahoo.com , i added the followings into my ASA, but after adding the following config, i can not access when i type - yahoo.com
but if i type - www.yahoo.com then it works, and opens the website.
any one can help me how to bock full web links please ?
here is my config:
regex mydomain1 *.yahoo\.com*.
class-map type regex match-any webBlocklist
match regex mydomain1
class-map type inspect http match-all domainclass
match request header host regex class webBlocklist
class-map webtraffic
match port tcp eq www
policy-map type inspect http http-policy
parameters
class domainclass
reset log
policy-map web-policy
class webtraffic
inspect http http-policy
service-policy web-policy interface outside
Solved! Go to Solution.
03-07-2013 05:33 AM
There is a missing \ on your regex configuration.
It should have been:
regex mydomain1 "\.yahoo\.com"
03-07-2013 05:33 AM
There is a missing \ on your regex configuration.
It should have been:
regex mydomain1 "\.yahoo\.com"
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