ER8411 Slow OpenVPN

ER8411 Slow OpenVPN

ER8411 Slow OpenVPN
ER8411 Slow OpenVPN
2024-08-03 03:54:58
Tags: #VPN
Model: ER8411  
Hardware Version: V1
Firmware Version: 1.2.2

I am confused, so for some reason I can't get decent vpn speeds. Site has 3gb sym, remote 1.5gb/1gb. I'm getting 300/300. Wire guard is the slowest with about 170/90. CPU on router about 8%. Is the controller doing something, should I get rid of it and be in standalone? I really don't understand that's going on, my latency is like 5ms. MTU settings? Site is running 1474 MTU with 1434 MSS. Required due to ISP. 
 

Any help would be greatly appreciated.

  0      
  0      
#1
Options
6 Reply
Re:ER8411 Slow OpenVPN
2024-08-05 01:29:13

Hi @Radmeister 

Thanks for posting in our business forum.

Here's the performance:

 

What's the network size on ER8411?

Do you have enabled DPI and IDS which may require high CPU performance features?

Is ER8411 the server or the client?

 

What's the other router you have? What's the performance of it? Datasheet, please.

As you are using the beta firmware, try to downgrade to the previous one and test it. I think it has nothing to do with the firmware but I still want to verify that.

If you can share the censored config from the OVPN on the other router if it is the server, that'd be best.

 

Controller has nothing to do with the speed. It only syncs the configs and collects the data to display the stats.

 

Please mosaic your sensitive information. Here is a list of information considered sensitive:

1. Public IP address on your WAN if your WAN is.

2. Real MAC address of your device.

3. Your personal information including address, domain name, and credentials.

For troubleshooting purposes, when a WAN IP is needed, please leave some values visible for identification.

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  
#2
Options
Re:ER8411 Slow OpenVPN
2024-08-05 13:52:21 - last edited 2024-08-05 13:58:21

Hi Clive,

 

The network size is small, at most 15 users connected, 7 hard wired and 8 or so on wifi.

 

I don't have DPI enabled - the option is not available on the controller.

 

IDS is disabled ER8411 is the server.

 

In front of the ER8411 is a Bell Gigahub modem placed in brige mode and only converting fibre to cat 7, which goes into a TP-Link 10gb SFP transmitter (authentic)

Also i see that you added GCM support, but there is no option in the creation of the server, or way to edit the file easily to change to AES-128-GCM or AES-256-GCM.

 

 

config server 'server0'
    option account_pwd 'on'
    option full_mode 'on'
    option ifconfig_pool_persist '/tmp/ipp0.txt'
    option ca '/etc/openvpn/ca.crt'
    option indexname '0'
    option status '/tmp/openvpn_status_server0.log 5'
    option cid '67041887'
    option enabled 'on'
    option proto 'udp'
    option duplicate_cn '1'
    option cert '/etc/openvpn/server_server0.crt'
    option client_cfg '/etc/openvpn/client_server0.cfg'
    option ca_cert '/etc/openvpn/ca.key'
    option persist_tun '1'
    option authtype 'local'
    option auth_user_pass_verify ''\''/usr/bin/lua /lib/openvpn/openvpn-password.lua'\'' via-env'
    option dh '/etc/openvpn/dh1024.pem'
    option persist_key '1'
    option port '1194'
    option wan 'WAN1'
    option verb '2'
    option comp_lzo 'no'
    option setenv 'SECTIONNAME 67041887'
    option cipher 'AES-128-CBC'
    option cname 'EmnorOpenVPN'
    option username_as_common_name '1'
    option local_network '0.0.0.0/0'
    option key '/etc/openvpn/server_server0.key'
    option keepalive '10 120'
    option status_version '2'
    option management '127.0.0.1 7510'
    option dev 'tun_server0'
    option client_ovpn '/etc/openvpn/client_server0.ovpn'
    option client_to_client '1'
    option server '192.168.10.0 255.255.255.0'
    option vlocalip '192.168.10.1'
 

 

CLIENT

client
dev tun server0
proto udp
float
nobind
cipher AES-128-cbc
compress
fast-io
ncp-disable
sndbuf 512000
rcvbuf 512000
txqueuelen 2000
reneg-sec 0
resolv-retry infinite
remote-cert-tls server
verb 2
persist-key
persist-tun
ping 10
ping-restart 120
auth-user-pass
explicit-exit-notify
remote x.x.x.x 1194
tun-mtu 1350
mssfix 1310
 

  0  
  0  
#3
Options
Re:ER8411 Slow OpenVPN
2024-08-05 14:00:37 - last edited 2024-08-05 15:00:28

  @Radmeister 

See the below screenshot of a speed test when connected to vpn

  0  
  0  
#4
Options
Re:ER8411 Slow OpenVPN
2024-08-06 02:22:27

Hi @Radmeister 

Thanks for posting in our business forum.

Radmeister wrote

Hi Clive,

 

The network size is small, at most 15 users connected, 7 hard wired and 8 or so on wifi.

 

I don't have DPI enabled - the option is not available on the controller.

 

IDS is disabled ER8411 is the server.

 

In front of the ER8411 is a Bell Gigahub modem placed in brige mode and only converting fibre to cat 7, which goes into a TP-Link 10gb SFP transmitter (authentic)

Also i see that you added GCM support, but there is no option in the creation of the server, or way to edit the file easily to change to AES-128-GCM or AES-256-GCM.

 

 

config server 'server0'
    option account_pwd 'on'
    option full_mode 'on'
    option ifconfig_pool_persist '/tmp/ipp0.txt'
    option ca '/etc/openvpn/ca.crt'
    option indexname '0'
    option status '/tmp/openvpn_status_server0.log 5'
    option cid '67041887'
    option enabled 'on'
    option proto 'udp'
    option duplicate_cn '1'
    option cert '/etc/openvpn/server_server0.crt'
    option client_cfg '/etc/openvpn/client_server0.cfg'
    option ca_cert '/etc/openvpn/ca.key'
    option persist_tun '1'
    option authtype 'local'
    option auth_user_pass_verify ''\''/usr/bin/lua /lib/openvpn/openvpn-password.lua'\'' via-env'
    option dh '/etc/openvpn/dh1024.pem'
    option persist_key '1'
    option port '1194'
    option wan 'WAN1'
    option verb '2'
    option comp_lzo 'no'
    option setenv 'SECTIONNAME 67041887'
    option cipher 'AES-128-CBC'
    option cname 'EmnorOpenVPN'
    option username_as_common_name '1'
    option local_network '0.0.0.0/0'
    option key '/etc/openvpn/server_server0.key'
    option keepalive '10 120'
    option status_version '2'
    option management '127.0.0.1 7510'
    option dev 'tun_server0'
    option client_ovpn '/etc/openvpn/client_server0.ovpn'
    option client_to_client '1'
    option server '192.168.10.0 255.255.255.0'
    option vlocalip '192.168.10.1'
 

 

CLIENT

client
dev tun server0
proto udp
float
nobind
cipher AES-128-cbc
compress
fast-io
ncp-disable
sndbuf 512000
rcvbuf 512000
txqueuelen 2000
reneg-sec 0
resolv-retry infinite
remote-cert-tls server
verb 2
persist-key
persist-tun
ping 10
ping-restart 120
auth-user-pass
explicit-exit-notify
remote x.x.x.x 1194
tun-mtu 1350
mssfix 1310
 

OK. Third-party server, looks like it is based on the LINUX? You did not share the specs of the machine(server).

So, you import this file to the computer that is connected to the ER8411 which can get an Internet speed of that high-speed level, do the speed test, what's the result on this cellphone?

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  
#5
Options
Re:ER8411 Slow OpenVPN
2024-08-06 03:06:27

  @Clive_A 

No third party, that's the server configuration file when I export the files from my OC300 controller for r&d.

 

On my cellphone, iPhone 15pro, same deal 250 down max, 325up max. No vpn 1.1gb/1gb

  0  
  0  
#6
Options
Re:ER8411 Slow OpenVPN
2024-08-06 03:36:50 - last edited 2024-08-06 03:39:56

  @Clive_A 

 

Also, you are correct firmware is not the issue, I downgraded back to stable, exact same thing.

 

The extra settings in the client are me trying to improve performance, it made no difference from just editing the downloaded file from the router and changing the ip to my dyndns adress.

  0  
  0  
#7
Options

Information

Helpful: 0

Views: 382

Replies: 6

Tags

Related Articles