Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
seatrope
New Contributor

AES-GCM for Forticlient VPN dialup

Hi all,

Has anyone successfully set up AES-GCM encryption for Forticlient IPSec Phase 2 connection?

Seeing some per-core limitations for IPSec throughput using AES-CBC as it's not parallelizable and hoping that AES-GCM will be better on the client side. On a 1Gbps - 1Gbps connection a client 5900X Ryzen maxes out one core and limits throughput to about 650 Mbps.

We have a 100F so AES-GCM should be offloadable to SOC4 NP6Lite.


Here are some links to improved efficiency and performance with GCM.

https://calomel.org/aesni_ssl_performance.html

https://layer77.net/2020/06/16/vpn-throughput-tests-palo-alto-vm-300-to-gcp/

Thanks all!

1 REPLY 1
aceventura
New Contributor

Setting up AES-GCM encryption for a FortiClient IPSec Phase 2 connection is indeed feasible and can offer performance benefits over AES-CBC, especially in high-throughput scenarios. AES-GCM (Galois/Counter Mode) is known for its efficiency and ability to be parallelized, which can lead to better performance on multi-core processors like the Ryzen 5900X you mentioned.

Given your situation, where AES-CBC is maxing out a single core and limiting throughput, switching to AES-GCM should help in better distributing the load across multiple cores, potentially increasing the throughput closer to your 1Gbps target.

Regarding the FortiGate 100F, it is equipped with the SOC4 NP6Lite, which supports hardware acceleration for AES-GCM. This means that the encryption and decryption processes can be offloaded to the hardware, further improving performance and freeing up CPU resources on your FortiGate device.

Labels
Top Kudoed Authors