How to find which policy is used for a specific traffic( from a particular source to particular destination.) using cli
Go to Solution.
Hello anandhubs,Below is the command to check policy lookup from cli
diagnose firewall iprope lookup <src ip> <src port> <dst ip> <dst port> <protocol> <device>For examplediagnose firewall iprope lookup 192.168.1.1 123 188.8.131.52 443 6 port4
Please let me know if you any additional queries.
View solution in original post
I don't believe there is a way to do this using CLI. You can use grep to filter your config output but that's about it AFAIK
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.