Skip to main content
yangw
Staff
Staff
Aug 6, 2025 3:25 PM UTC

Firewall Policy is not matching for one-arm packet flow after upgrading from v7.2.10 to v7.2.11

  • Oct 27, 2026 9:32 AM UTC
  • 0 replies
  • 2194 views
  • Translate All

Description

This article describes the steps to troubleshoot and resolve the issue of the firewall policy not matching for one-arm packet flow after upgrading from FortiGate v7.2.10 to v7.2.11. The issue occurs when the traffic flow does not match the expected firewall policy rule, despite the rule being configured correctly.

Scope

FortiGate v7.2.11.

Solution

The following commands can be used to verify whether a one-arm packet flow matches the intended policy rule:


diagnose debug reset
diagnose debug console timestamp enable
diagnose debug flow filter addr <addr/range>       
diagnose debug flow filter port <port/range>
diagnose debug flow show function-name enable
diagnose debug flow show iprope enable
diagnose debug enable
diagnose debug flow trace start 9999


After reproducing the issue to generate the relevant debug logs. Afterwards, disable debugging with the following commands:

 

diagnose debug disable
diagnose debug reset


In v7.2.10, one-arm (internal-to-internal) packet flows will correctly match and apply the designated policy rule with ID 2010.

 

policy_2010_for_7.2.10_hit.png

 

However, after upgrading from v7.2.10 to v7.2.11, the same one-arm packet flow will be forwarded, but will no longer match any policy rules by default.

 

policy_2010_for_7.2.11_no_hit.png

 

Another example: if a policy is configured with NAT enabled, but traffic is forwarded without NAT, this indicates that the traffic does not match the policy.

To resolve this issue:

Check if the allow-traffic-redirect setting is enabled or disabled according to network requirements. Verify this setting by running 'config system global and then get allow-traffic-redirect'.


It is recommended to set 'allow-traffic-redirect' to disabled. For IPv4 policies, this configuration keeps the traffic on the original incoming interface and applies the proper policy check.


show sys global | grep -f allow-traffic-redirect

config system global
    set allow-traffic-redirect disable 
end


Note: If allow-traffic-redirect is disabled, FortiGate will check the firewall policies to determine whether the traffic is allowed; hence, a firewall policy is required when traffic enters and exits through the same interface.


Details can be found in these articles:

Technical Tip: Traffic handled by FortiGate for packet which ingress and egress same interface

Technical Tip: How the FortiGate behaves when asymmetric routing is enabled


FortiOS behavior change explanation:

Before upgrading to v7.2.11, if 'allow-traffic-redirect' was enabled (the default), FortiGate would drop one-arm packets if their source IP was in a different subnet than the incoming interface. After upgrading to v7.2.11, by default, one-arm traffic will always be forwarded without any policy matching.


This is also applicable to other FortiOS versions. The change took effect on v7.0.16, v7.2.11, v7.4.4, and v7.6.0.


The behavior was changed. Search for Release Notes -> Changes in default behavior, ID 985508, and no policy or existing session will be required if allow-traffic-redirect is enabled.


If allow-traffic-redirect is disabled, FortiGate will perform a policy match.


Related documents:

Changes in default behavior
Technical Tip: How to allow traffic when using the same logical interface for ingress and egress with source and destination IP is from different network

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024