Skip to main content
luca1994
Explorer III
Oct 12, 2023 3:04 PM UTC
Solved

Wrong Policy match

Hello team,

 

I have a problem with matching a policy.

The policy in question is:

policy.png

the policy logs (one is an example of a correct match and the 'other of a wrong match)

log.png

I can't figure out why they don't both match the same policy.

Thanks for the support

bpozdena_FTNT
Staff
Oct 13, 2023 7:57 AM UTC

Hi@luca1994 ,

You should exempt DNS traffic from the captive portal. Requiring authentication for DNS traffic will cause the clients to be unable to resolve domain names, which is needed in order to trigger the captive portal login page.  

5 replies

dbu
Staff
Staff
Oct 12, 2023 3:34 PM UTC

HI @luca1994 , 
I see two differences on the provided logs : 

-Allowed traffic is doing SNAT

-Blocked traffic shows Denied by Thread

luca1994
luca1994Author
Explorer III
Oct 12, 2023 3:44 PM UTC

Hi @dbu ,

 

yes but why in your opinion ?

I would have expected it to pass correctly and not "Denied bt Thread"

 

Thanks for the support

BR

funkylicious
SuperUser
SuperUser
Oct 12, 2023 4:11 PM UTC

Hi,

The only explanation i can see here, is that the user in question on the right side, isnt part of that group defined in the policy.

Whereas on the left side, no user was identified in the traffic so it was allowed.

"jack of all trades, master of none"
luca1994
luca1994Author
Explorer III
Oct 13, 2023 7:22 AM UTC

Hi @funkylicious , thanks for the response.

The user in question on the right side is a guest user, infact in the section "guest management" is correctly present. Then there are a one guest group configured as follows:

 

guest group.png

 

And this group is in the policy. Any other suggestion for me?

 

Thansk for the support

BR

bpozdena_FTNT
Staff
Staff
Oct 13, 2023 7:57 AM UTC

Hi@luca1994 ,

You should exempt DNS traffic from the captive portal. Requiring authentication for DNS traffic will cause the clients to be unable to resolve domain names, which is needed in order to trigger the captive portal login page.  

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024