This article explains how to find the IPv4 policy id for troubleshooting.
FortiGate.
Navigate to firewall policy from Policy and Objects.
After that, It will be possible to see the policy ID indicated on each policy in the top right corner.
Refer to the image below.
It is also possible to use the below command in the CLI to find the matching policy:
diagnose firewall iprope lookup <src ip> <src port> <dst ip> <dst port> <protocol> <Incoming_interface>
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 2023 Fortinet, Inc. All Rights Reserved.