Technical Tip: How to enable TCP load balance in HA with active-active mode
Description
This article describes that when the HA is used in the FortiGate with active-active mode, the traffic may not perform the load balance with TCP traffic as expected.
Sometimes, it is not possible to configure the load balance with the HA in active-active mode properly and by default; only sessions that are subject to proxy inspection are distributed to secondary devices.
Scope
FortiGate.
Solution
This article assumes HA has been joined in active-active mode already.
To load balance TCP traffic besides proxy sessions, use the following CLI commands.
config system ha
set load-balance-all enable <- Disabled by default (Enable to load balance TCP sessions. Disable to load balance proxy sessions only).
end
After that, it will be possible to check the traffic again. Both HA units will load balance the TCP traffic afterwards.
