1. Network
  2. Security

OpenVPN vs WireGuard: Speed test

Recently we have been testing WireGuard tunnel. And today we wanted to share with your our speed test comparison results of WireGuard and OpenVPN connection made on the same Pritunl server. To say the truth, we have been surprised by the results of our test.

Speed test logic

We wanted to test two protocols in same conditions. First, both WireGuard and OpenVPN speed tests were run form the same Pritunl installation. In one of our previous articles we showed how to add WireGuard support to your Pritunl OpenVPN.

Second, we ran multiple tests to each of the destination servers. Total we ran five speed tests to three different destinations – Panama, Amsterdam and Turkey. Speed test were run from a private internet network and NOT high-speed datacenter connection. The results are presented below.

OpenVPN Speed test

openvpn speedtest
OpenVPN speed test
Country / Download, PingPanamaNetherlandsTurkey
Try 111Mb, 305ms16Mb, 167ms13Mb, 142ms
Try 212Mb, 240ms17Mb, 90ms14Mb, 207ms
Try 39Mb, 241ms15Mb, 156ms15Mb, 192ms
Try 412Mb, 273ms16Mb, 148ms14Mb, 171ms
Try 511Mb, 305ms16Mb, 117ms13Mb, 170ms
Average11Mb, 272ms16Mb, 135ms14Mb, 176ms
OpenVPN speed test results

What we can see is that the speed does not vary too much even to the distant servers. Also each attempt showed almost equal results which says that there weren’t any issues related to the load of the speed test server.

WireGuard Speed test

wireguard speedtest
WireGuard Speedtest

First results caught us off guard but the more speed tests we did, the more obvious it became. You can see for yourself the results in the table below.

Country / Download, PingPanamaNetherlandsTurkey
Try 112Mb, 236ms46Mb, 79ms33Mb, 144ms
Try 224Mb, 222ms47Mb, 79ms26Mb, 142ms
Try 322Mb, 236ms46Mb, 79ms28Mb, 141ms
Try 423Mb, 230ms48Mb, 78ms35Mb, 145ms
Try 510Mb, 230ms46Mb, 79ms24Mb, 142ms
Average18Mb, 230ms47Mb, 79ms29Mb, 142ms
WireGuard speed test results

Conclusion

As we can see WireGuard is a clear WINNER. The speed test results of WireGuard tunnel are significantly better than OpenVPN ones. WireGuard is proving to be better both in terms of connection speed and latency. And just so you know, our VPNs support WireGuard as well 😉