Skip to main content
Christian_89
Contributor III
Feb 9, 2023 2:00 PM UTC
Solved

IPSEC VPN Very SLOW

hello together

I have the following problem
over IPSEC VPN the file transfer to a share is very slow.
We are talking about 1mbits to about 25mbits.
The file size is between 500mb and 5000mb.

The local breakout are no problems only via IPSEC I have the problem

From the outside locations (100F each) it goes to the HQ (FortiVM02).

Each remote site is connected with 1000 mbit synchronously.

All Forti have 7.2.3 in use.

IPSEC
Are connected with
IKEv2
AES 256 and SHA 521 in both phases and DH 21 also in both phases.

 

Christian_89
Contributor III
Apr 15, 2023 7:31 AM UTC

I have found the problem.

It was on the switches LACP was set up but only used one interface so there was performance degradation.

10 replies

Staff
Feb 9, 2023 2:41 PM UTC

Hello Christian, 

Can you try lowering the proposals to aes128-sha256 and test if there is any change? 

Try also to disable replay under the phase 2 configuration and testing again. 

 

If there are any UTM profiles enabled on the policies configured on IPSEC traffic try disabling and then test again. 

 

Christian_89
Contributor III
Feb 9, 2023 3:23 PM UTC

I have already adjusted Propsal. but did not bring any improvement
because Replay I have not yet adjusted will still make and give you feedback.
UTM I have no active

Christian_89
Contributor III
Feb 10, 2023 6:57 AM UTC

I have made the adjustment and deactivated the replay.
It did not bring any improvement.

Staff
Feb 9, 2023 2:42 PM UTC

You can also use the commands in the below KB to troubleshoot speed or bandwidth issues:

https://community.fortinet.com/t5/FortiGate/Troubleshooting-Tip-How-to-troubleshoot-speed-or-bandwidth/ta-p/216705

ConnyGustavsson
Visitor III
Feb 10, 2023 10:00 AM UTC

This could be caused by payload fragmentation. If traffic is TCP; try manipulate the TCP-MSS on the firewall policy that match this traffic. Do this on both sides of the tunnel.

# config firewall policy
edit <policy id>
tcp-mss-sender <mss value>
tcp-mss-receiver <mss value>

I usually test 1300 Bytes for VPN traffic. 

Christian_89
Contributor III
Feb 12, 2023 10:52 AM UTC

Unfortunately I have not yet been able to achieve a need pairs increase.
With iPerf test I get so on 110-150Mbps. UDP is no problem, I get 850-980 Mbps.

Christian_89
Contributor III
Mar 9, 2023 7:52 AM UTC

Do you have any infoDo you have any info

fdqueiroz
New Member
Apr 13, 2023 4:00 PM UTC

I have the same problem.

Christian_89
Christian_89AuthorAnswer
Contributor III
Apr 15, 2023 7:31 AM UTC

I have found the problem.

It was on the switches LACP was set up but only used one interface so there was performance degradation.

elynner
New Member
Sep 2, 2025 6:16 PM UTC

Can you expound upon this? did you end up disabling LACP? what was your actual fix?

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