This article explains how to maintain FortiGate Firewall policy rule number sequencing when using import scripts.
All FortiOS versions.
FG300B3908606491 # config firewall policy FG300B3908606491 (policy) # edit 0 -----> put 0 new entry '0' added FG300B3908606491 (0) # set srcintf port3 FG300B3908606491 (0) # set dstintf port2 FG300B3908606491 (0) # set srcaddr all FG300B3908606491 (0) # set dstaddr all FG300B3908606491 (0) # set service ANY FG300B3908606491 (0) # set schedule always FG300B3908606491 (0) # show config firewall policy edit 7 -------------> ID 7 has been given to this policy set srcintf "port3" set dstintf "port2" set srcaddr "all" set dstaddr "all" set schedule "always" set service "ANY" next end FG300B3908606491 (0) # next FG300B3908606491 (policy) # |
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.