Skip to main content
tino_p
Staff
Staff
February 15, 2024

Technical Tip: Understand the performance's differences on IPSec VPN and MPLS/P2P connection

  • February 15, 2024
  • 0 replies
  • 3562 views
Description This article describes that when using both IPSec VPN and MPLS/P2P connection at the same time, users might notice that the transferring speed (of the same files) in the IPSec tunnel is usually slower than that of MPLS/P2P connection. The reason is that VPN traffic is encrypted and its latency is also unpredictable over the Internet lines.
Scope FortiGate.
Solution
  • A test is conducted in lab with Fortigate 60F device with the following topology:

Local_LAN ==== FGT60F ==== MPLS/P2P or IPSec VPN ==== Remote-FW ==== Remote_LAN

 

  • In this test, a large file (~ 5GB) is transferring between Local_LAN and Remote_LAN, over either MPLS/P2P or IPSec VPN tunnel. The speed is measured and calculated by the iPerf application and SMB protocol. The average speed of the IPSec VPN tunnel is slower than that of MPLS/P2P, significantly. Besides, if npu-offload is disabled in the VPN setting (which means that the traffic was not offloaded by NPU), the speed is even worse.

 

  iPerf (MB/s) SMB (MB/s)
MPLS / P2P 94.8 90.5
IPSec VPN (enable npu-offload) 56 55.57
IPSec VPN (disable npu-offload) 22.84 18.7

 

  • In the real world, the user should also consider the type of Internet line (which is used for the IPSec tunnel); because if it is PPPoE type, it will not support the NPU offload and reduce the IPSec tunnel's performance. The solution is either (1) to switch to an Internet leased-line for a VPN connection or (2) to work with the ISP to change the ISP modem/router's working mode. 

 

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!