# config firewall policyNote that the above option is only available when the firewall is set to profile mode.
edit 1
set name "policyid-1"
set uuid dfcaec9c-e925-51e8-cf3e-fed9a1d42a1c
set srcintf "wan2"
set dstintf "wan1"
set srcaddr "all"
set dstaddr "all"
set action accept
set schedule "always"
set service "ALL"
set anti-replay enable
set logtraffic all
set nat enable
next
end
# config firewall consolidated policyWhen the unit is set to profile mode, the only available option is to change anti-replay settings globally.
edit 1
set status enable
set name "test"
set uuid c64653e4-53b2-51ea-68fd-b11529dd97ec
set srcintf "port1"
set dstintf "port2"
set srcaddr4 "all"
set dstaddr4 "all"
set srcaddr-negate disable
set dstaddr-negate disable
set service-negate disable
set internet-service disable
set internet-service-src disable
set service "ALL"
set ssl-ssh-profile "no-inspection"
set diffserv-forward disable
set diffserv-reverse disable
set tcp-mss-sender 0
set tcp-mss-receiver 0
set session-ttl 0
set comments ''
next
end
# config system global
set anti-replay {disable | loose | strict} <----- Level of checking for packet replay and TCP sequence checking.
end
Related Articles
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 2025 Fortinet, Inc. All Rights Reserved.