Very slow VPN speed

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Very slow VPN speed

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Very slow VPN speed
Very slow VPN speed
2023-09-11 17:30:20 - last edited 2023-09-11 17:57:12
Tags: #VPN
Model: ER707-M2  
Hardware Version: V1
Firmware Version: 1.1

Bello,

I have just replaced ER605v1 router with ER707-M2 to get higher Client-toSite VPN speed, but I am very dissapointed.

Using PPTP VPN i get max 1MB/s (even ER605v1 achieve 3MB/s). L2TP reaching 3MB/s and OpenVPN jumping between 10 and 5MB/s. Max 40 percent utilisation of router CPU. Gateway is controlled by Linux Software Controler V5.12.6

 

Using VPN client on Windows 11 PC I am reaching 10MB/s stable for all VPN protocols.

 

Is somehow possible to reach 10MB/s stable speed using this router? Is someone experiencing same behaviour?

 

  0      
  0      
#1
Options
34 Reply
Re:Very slow VPN speed
2023-09-12 02:00:26

Hi @Libik 

Thanks for posting in our business forum.

How do you rule out variants that may affect the speed?

Would like to know your test methodology and ISP/mobile speed for each device used in the test.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0  
  0  
#2
Options
Re:Very slow VPN speed
2023-09-12 05:14:55 - last edited 2023-09-12 06:50:34

  @Clive_A 

120Mbps on client side and 1000Mbps on server side. I am just simple copying big file from server. I know that this is not exact methodology, but 1MB/s vs 10MB/s is big difference (I am not comparing 9MB/s vs 10MB/s). And I am comparing PPTP vs L2TP vs OpenVPN with the same server. If I am connected through OpenVPN on ER707 I am at least reaching 10MB/s. If I am connected to VPN (does not matter which protocol) through Windows 11 VPN client, I am reaching 10MB/s for all.

 

Specs from datasheet:

IPSec VPN Throughput: ESP-SHA1-AES256: 673.3 Mbps, ESP-SHA256-AES256: 650.2 Mbps/ESP-SHA384-AES256: 629.3 Mbps, ESP-SHA512-AES256: 633.8 Mbps
L2TP VPN Throughput: Unencrypted: 1243.7 Mbps; Encrypted: 561.0 Mbps
OpenVPN Throughput 135.0 Mbps

 

All speeds are much above my internet connection speed 120Mbps.

 

 

Speed Comparisson

  0  
  0  
#3
Options
Re:Very slow VPN speed
2023-09-12 07:24:12

Hi @Libik 

Libik wrote

  @Clive_A 

120Mbps on client side and 1000Mbps on server side. I am just simple copying big file from server. I know that this is not exact methodology, but 1MB/s vs 10MB/s is big difference (I am not comparing 9MB/s vs 10MB/s). And I am comparing PPTP vs L2TP vs OpenVPN with the same server. If I am connected through OpenVPN on ER707 I am at least reaching 10MB/s. If I am connected to VPN (does not matter which protocol) through Windows 11 VPN client, I am reaching 10MB/s for all.

 

Specs from datasheet:

IPSec VPN Throughput: ESP-SHA1-AES256: 673.3 Mbps, ESP-SHA256-AES256: 650.2 Mbps/ESP-SHA384-AES256: 629.3 Mbps, ESP-SHA512-AES256: 633.8 Mbps
L2TP VPN Throughput: Unencrypted: 1243.7 Mbps; Encrypted: 561.0 Mbps
OpenVPN Throughput 135.0 Mbps

 

All speeds are much above my internet connection speed 120Mbps.

 

 

Speed Comparisson

I don't get your question. Is this Windows computer a VPN server? And you are comparing the router as a server and the VPN server running on Windows 11?

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0  
  0  
#4
Options
Re:Very slow VPN speed
2023-09-12 08:29:10

  @Clive_A 

 

No, I am comparing VPN client on ER707-M2 and VPN client on Windows 11. They are both connected from the same network and to the same VPN server.

  0  
  0  
#5
Options
Re:Very slow VPN speed
2023-09-12 08:52:33

Hi @Libik 

Thanks for posting in our business forum.

Too many reasons that might affect this. If your goal is simply to verify the capability of the router, you can test by iperf or chariot in a LAN VPN network. I asked the team how we concluded the performance data. It is basically a test in a similar environment. It can reach that fast. Put it in the real Internet, there are too many reasons and factors influencing the final speed.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  1  
  1  
#6
Options
Re:Very slow VPN speed
2023-09-12 14:13:46

  @Clive_A 

 

Yes, it is true, that there is a lot of reasons, but if it is working from computer on the same network (even through the same router), but the VPN connection is not established between router and server, but between computer and server, than problem is in the router capabilities. Could you at least show me some figure where ER707-M2 act as VPN-Client under PPTP/L2TP and it is reaching speeds more than 10MB/s?

  0  
  0  
#7
Options
Re:Very slow VPN speed
2023-09-12 18:05:29 - last edited 2023-09-12 18:20:33

  @Libik 

 

Hi, I did some testing here tonight. I have an ER707 and an ER8411 that I have tested with. I have not been able to test PPTP, but I have tested L2TP with routers as clients.

remote L2TP server is a UXG-Pro from unifi.

 

copying file from remote server to computer like you and the result is like this

 

This routers is connecte to same ISP so the result shuld be the same on both routers, but no.

 

ER707 120 Mbps (far away from greate)

to compare I also test ER8411 238 Mbps (Problably limit of the UXG-Pro)

 

But you have a much worse speed, it can be caused by OpenVPN.
what I see is that the L2TP speed goes down a lot when I activate the OpenVPN Client on the router,

try disabling OpenVPN to see if the speed on L2TP increases.

 

try and deactivate all tunnel exept tunnel you use for test and see if there is any difference when enabled or disabled.

 

 

  0  
  0  
#8
Options
Re:Very slow VPN speed
2023-09-12 19:41:11

  @MR.S 

I am connecting to the Unify Dream Machine Server for L2TP and Synology NAS for PPTP/OpenVPN. During the test I had only one tunnel active and all the others weredisabled. So for now I thinking about returning ER707-M2 and using old ER605V1 (which has almost same speed for me) and I have to look somewhere else for different router with really functional VPNs.

  0  
  0  
#9
Options
Re:Very slow VPN speed
2023-09-13 05:15:35

  @Libik 

 

I have two ER707-M2, they perform very well on IPsec Site to Site. I have a 500/500 Mbps line and it works fine on S2S. so it's a bit strange that L2TP is so bad.
I know there are many parameters when it comes to VPN, so slowness can be many places along the way.

Do you have a UDM or is it UDM Pro? UDM is a little weaker, so there may also be some limitations on it. If you have UDM Pro, I think it is the same hardware as UXG-Pro

 

Is your router behind another router? if you have the opportunity to do so, you can try to disconnect this so that you get a public IP on the ER707

 

@Clive_A when you test in lab do you get Encrypted 561.0 Mbps on L2TP. 

  0  
  0  
#10
Options
Re:Very slow VPN speed
2023-09-13 05:57:31 - last edited 2023-09-13 05:57:49

  @Libik @Clive_A 

 

 

Its something strange, when I do Site To Site with much stronger encryption than L2TP the speed is almost 80MB/s

On S2S I use this encryption

SHA-384 - AES256 - DH14
ESP - SHA-384 - AES256

This test is done with ER707-M2 and remote is a Cisco FPR-1120

 

 

 

  0  
  0  
#11
Options