Skip to main content
FortiKoala
Staff
Staff
Sep 28, 2018 8:59 AM UTC

Technical Tip: Asymmetrically routed packets are discarded with newer appliances

  • Apr 16, 2026 1:21 PM UTC
  • 0 replies
  • 2297 views
  • Translate All

Description

 

This article describes that the FortiNAC server with multiple ethernet interfaces not processing inbound packets to eth0 that have a return path of eth1 (or vice versa).  

As of CentOS 6 and later, such traffic is discarded by default.  Refer to Red Hat Solution 53031: "Why does Red Hat Enterprise Linux 6 and above invalidate / discard packets when the route for outbound traffic differs from the route of incoming traffic?"

In an environment where asymmetric routing occurs, this change can potentially result in issues with agent communication and Captive Portal access.

Scope


FortiNAC, CentOS 7.


Solution


Workaround: Ideally, asymmetric routing should be avoided.  However, there are two ways via CLI to configure the system to accept asymmetrically routed traffic on CentOS 7 such that the system functions similar to CentOS 5.

Temporary change (will revert upon reboot):

This can be changed during runtime by running the following commands:

echo 2 > /proc/sys/net/ipv4/conf/default/rp_filter
echo 2 > /proc/sys/net/ipv4/conf/all/rp_filter


Persistent change:

To make this behavior persistent across reboots, modify /etc/sysctl.conf and make the following change prior to reboot:

net.ipv4.conf.default.rp_filter = 2
net.ipv4.conf.all.rp_filter = 2


Solution:  Set static routes in the Application server for eth1.  Refer to the related KB article below.
 

Related srticle:

Technical Note: Set static routes using in Configuration Wizard

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