OpenVPN server seems strangely slow
Posted: Sun Jun 20, 2021 9:58 am
Hello,
I wonder if I have a mistake in the server config to have such poor speed. Unless this is expected with the additional security Crypt2 is providing? In this case I have to accept it. But I thought I run it here by you first.
Please check below for comparison:
OpenVPN is installed on a 2019 server with AMD Ryzen™ 5 3600 (6 Cores, 64 GB DDR4)

IKEv2 (StrongSwan) is installed on a 2014 server with Intel Xeon E3-1246V3 (4 Cores, 32 GB DDR3)

Both server are located in the same data centre.
port 1789
proto udp
dev tun
user nobody
group nogroup
persist-key
persist-tun
keepalive 10 120
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 1.0.0.1"
push "dhcp-option DNS 1.1.1.1"
push "redirect-gateway def1 bypass-dhcp"
dh none
ecdh-curve prime256v1
tls-crypt-v2 tls-crypt-v2.key
crl-verify crl.pem
ca ca.crt
cert server_7RmgUuwxS0MOJqci.crt
key server_7RmgUuwxS0MOJqci.key
auth SHA256
cipher AES-128-GCM
ncp-ciphers AES-128-GCM
tls-server
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
client-config-dir /etc/openvpn/ccd
status /var/log/openvpn/status.log
verb 3
log-append /var/log/openvpn/openvpn.log
Is there anything that could be improved?
Many Thanks,
I wonder if I have a mistake in the server config to have such poor speed. Unless this is expected with the additional security Crypt2 is providing? In this case I have to accept it. But I thought I run it here by you first.
Please check below for comparison:
OpenVPN is installed on a 2019 server with AMD Ryzen™ 5 3600 (6 Cores, 64 GB DDR4)

IKEv2 (StrongSwan) is installed on a 2014 server with Intel Xeon E3-1246V3 (4 Cores, 32 GB DDR3)

Both server are located in the same data centre.
server
port 1789
proto udp
dev tun
user nobody
group nogroup
persist-key
persist-tun
keepalive 10 120
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 1.0.0.1"
push "dhcp-option DNS 1.1.1.1"
push "redirect-gateway def1 bypass-dhcp"
dh none
ecdh-curve prime256v1
tls-crypt-v2 tls-crypt-v2.key
crl-verify crl.pem
ca ca.crt
cert server_7RmgUuwxS0MOJqci.crt
key server_7RmgUuwxS0MOJqci.key
auth SHA256
cipher AES-128-GCM
ncp-ciphers AES-128-GCM
tls-server
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
client-config-dir /etc/openvpn/ccd
status /var/log/openvpn/status.log
verb 3
log-append /var/log/openvpn/openvpn.log
Is there anything that could be improved?
Many Thanks,