I am after permitting only MS Intune and Windows Update - block all internet access.
I have followed the custom URL filtering as mentioned in the link below:
Created the custom url filter:
then created a policy allowing - web-browsing, ssl and ms-update
selected correct URL-category::
Time to Test: destination IP is for portal.manage.microsoft.com and it hits the correct policy
but when I try with google.com IP address, that also hits the same policy
From the above it seems that google.com will also be allowed?
I dont have an actual host to test the same, hence tested it from the Troubleshooting section of the firewall.
To me it seems that the firewall is permitting any url being accessed over ssl, and ignoring the URL category.
The main reason for using custom URL filter is that I want to use wildcard FQDN.
Can someone suggest why the URL filtering is not taking effect.
With that rule theoreticaĺly every IP will match. Because of that you also configured the custom URL category. So when a host tries to connect to google.com, the tcp handshake will succed, but in the TLS handshake, the firewaĺl will see the hostname and from that point on the connection will no longer match your windows update rule and it will be dropped (except if you have some more rules that could match for that connection). In the policy match test, if you choose also the URL category, then the result will show what you actually expected.
For CLI, PA has mentioned the workaround as per https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000PLjeCAG
But that is assuming multi vsys config. My case is single vsys and single virtual router. There is no option on GUI to select vsys and VR.
I believe tomorrow I should have someone on site and I will ask them to connect their laptop to verify this.
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 LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!