Palo alto not blocking a URL

Reply
Highlighted
L0 Member

Palo alto not blocking a URL

Hi All,

 

I hope all are doing well.

 

I am trying to block a URL on palo alto firewall using custom URL category but firewall is not blocking the traffic and its passing through allow SSL/Web-browsing rule just below it.

 

This is the rule i created:

Ankurdatta_0-1594630363624.png

 

Rule 4 is allow rule to access websites, whereas rule 2 is used to block the URL - https://natboard.edu.in/

I created custom URL category:

*.edu.in
*.edu.in/
*.natboard.edu.in
https://natboard.edu.in/
natboard.edu.in

 

Traffic is not hitting rule 2 and traffic goes through rule 4. I created custom application as well by checking server name in wireshark in SNI field - Server Name: natboard.edu.in but it also not worked. rule number 3

 

Ankurdatta_1-1594630694984.png

 

I am decrypting SSL traffic as well.

 

Kindly advise.

 

Thanks

Highlighted
L1 Bithead

Hi,

 

I was able to block this successfully using the following setup.  I also included the wireshark debug for the site.  SNI (Server name indication) allows you to block without actually decrypting the traffic, since this field is unencrypted.

 

nbutter_0-1594907322592.png

nbutter_1-1594907329863.png

 

nbutter_2-1594907336118.png

Have a good day,

 

Highlighted
L5 Sessionator

@AnkurdattaTraffic logs and cli test commands may give you more clarity on why traffic is not matching expected security policy.

 

Mayur



Mayur
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!