Speedtest Openvpn versus wireguard vpn

In this article I will provide a short speed comparison on speed test for 2 vpn options that come within opnsense.

First is the openvpn, a built in vpn client that is provided with opnsense.
The second is wireguard  that is provided as a plugin for opnsense.

A few words about connection settings:
- encryption was set to aes 256 gcm for openvpn while wireguard uses ChaCha20 for symmetric encryption
- this was a virtual machine in the cloud with no hardware acceleration for encryption or anything
- openvpn uses an internal network adapter called tun/tap same as wireguard

In regards with the speed, the winner is wireguard at the download speed and openvpn at the upload.

Below are the speeds that were reached for both setups.

OPENVPN has reached to 32.13 mbps for download and 17.6 mbps for upload

Wireguard has reached a download speed of 37.53mb and an upload of 14.59



 

In the end I believe the results are the same, as both servers are using NAT to route traffic from internal network and that slows down the connection.

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

 Openvpn needs a gateway parameter for a route option and no default was specified

When this error is received you may need to do one of the following: enable tunnel isolation...

 Configuring a VPN Appliance for Remote Access

VPN Server Appliance Powered by OPNsense The VPN Appliance is powered by OPNsense, a...

 Shadowsocks socks proxy configuration and installation

How to install and configure Shadowsocks libev SOCKS5 proxy server on Centos and Ubunu...

 VPN Types

Planning ahead is required before choosing a VPN solution to make sure that the VPN solution...

 VPN Encryption and Security Protocols

VPN Encryption and Security Protocols Whenever you are planning and then deploying a VPN...