Created on 09-25-2024 12:42 AM Edited on 09-25-2024 12:43 AM By Jean-Philippe_P
Description | This article describes how to troubleshoot issues where traffic does not match any policy although the policy is already created. |
Scope | FortiGate. |
Solution |
In this example, a policy has been created to allow all traffic from port 2 to port 1 (internet), however, traffic does not match the policy. A ping test is done from the user (10.xx.xx.59) to 8.8.8.8 failed due to no policy matching.
Debug flow showing below:
id=20085 trace_id=25 func=fw_forward_handler line=719 msg="Denied by forward policy check (policy 0)"
To troubleshoot this issue, the following can be done:
get router info routing-table details 10.xx.xx.59 Routing table for VRF=0
get router info routing-table details 8.8.8.8 Routing table for VRF=0
config firewall policy
Verify that all named object is configured correctly. This can be done by hovering on each object on the policy.
Noticed that the service ALL has been changed to specific port which cause traffic not matching the policy.
Do ensure that proper name is being used to represent its object. In this example, service is named as ALL but it is only configured for some specific ports. This could cause confusion when configuring the policies and troubleshooting policy related issues. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.