10-17-2018 03:29 AM - edited 02-21-2020 08:21 AM
Dear All,
I am using URL filter by regex on my ASA 5525 version 9.2(2)4 but it's not working. The domains are not blocked. Please find in attachment the config I used
10-17-2018 05:14 AM
Dears Support,
Thank in advance for your support.
10-17-2018 12:35 PM
10-18-2018 02:20 AM
Hi Michael,
Thank for your feedback. I try with another domain http but still the same. Below the config. The traffic is from inside to outside.
regex speedtest "\.speedtest\.net"
class-map type regex match-any DomainBlockList
match regex speedtest
class-map type inspect http match-all BlockDomainsClass
match request header host regex class DomainBlockList
policy-map type inspect http http_inspection_policy
parameters
protocol-violation action drop-connection
class BlockDomainsClass
reset log
access-list 103 extended permit ip any4 any4
class-map httptraffic
match access-list 103
policy-map inside-policy
class httptraffic
inspect http http_inspection_policy
service-policy inside-policy interface inside
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