Skip to main content
Gab_FTNT
Staff & Editor
Staff & Editor
November 21, 2024

Technical Tip: Policy Match lookup tool not matching correct policy or hitting default implicit deny

  • November 21, 2024
  • 0 replies
  • 1171 views
Description This article describes a scenario where policy match lookup is not selecting the correct policy or hit the implicit denied policy.
Scope FortiGate.
Solution Policy lookup is a GUI tool used to lookup which policy will be used to allow or deny specific traffic.
The tool is available under Policy & Objects -> Firewall Policy -> Policy Match

The following policy example uses a specific source, destination, and specific services.

Policy15.PNG
The SFTP Service has been configured to use a specific source port as follows.

Untitled.png
Using the Policy lookup without specifying the source port used in the service will result in hitting the Implicit_Deny Policy.

Policy not matched.PNGmatchedpolicydeny.PNG
Even though it is marked as 'Optional' in the GUI, the Service has been set with a specific source port, therefore the only way to match the Service is to specify a source port that is within the range that the Service has been assigned.

1000.PNGMatch.PNG