Blog

WireGuard vs OpenVPN: measured, then compared

A same-host run of kernel WireGuard and userspace OpenVPN 2.6 with every setting and date, then what each protocol does, where each loses, and which to pick.

Published October 16, 2026 · 15 minutes read · Updated October 30, 2026

Key takeaways

  • Median throughput on one host, 2026-10-16: kernel WireGuard 3367 Mbit/s, userspace OpenVPN 2.6.14 1933 Mbit/s, over five 20-second iperf3 runs each.
  • OpenVPN DCO was not available in that run, so its figure is userspace and says nothing about data channel offload.
  • The first ping reply after setup took a median of 140 ms for WireGuard and 786 ms for OpenVPN, including a TLS 1.3 handshake.
  • WireGuard sends every packet over UDP; OpenVPN's manual lists TCP or UDP, certificates or a password, and a negotiated list of data ciphers.
  • ForestVPN's engine, Quantum, uses the unmodified Noise_IKpsk2 handshake of WireGuard; it is not OpenVPN.
On this page (11)

Kernel WireGuard beat userspace OpenVPN 2.6.14 in our run, with a median of 3367 against 1933 Mbit/s (see the run results). It was one virtual machine, one cipher each and a bridge that runs at memory speed, so read how it was made before quoting either number.

For the router side of the same question, see OpenWrt and WireGuard and the throughput-per-CPU-cycle measurements.

That is what a protocol comparison looks like once you print the settings. The top results we read repeat ratios without naming the host, version or cipher.

The project that wrote WireGuard says of its own benchmark table that it is "old, crusty, and not super well conducted". So we ran a fresh one, kept the raw files, and wrote down what it cannot tell you.

On the other axis people raise, WireGuard's site states its aim as very few lines of code and easy auditing, compared with OpenVPN/OpenSSL and IPsec. That is the project's stated aim, not something we measured.

  1. Routers Two MikroTik routers

    Our core against RouterOS’s own kernel tunnel

  2. Containers Same-host run, kernel WireGuard and userspace OpenVPN

    Two containers in one virtual machine

  3. Earlier build Dedicated Linux servers

    The build before the 2026-10-30 changes, at one thread

  4. Earlier build Thread sweep

    The same earlier build with more threads

  5. Current build Linux virtual machines with OpenVPN 2.7.0

    Two VMs on one host, and a 2.5 Gbit/s link between two other hosts

Is WireGuard faster than OpenVPN?

  • Kernel WireGuard
  • OpenVPN 2.6.14, userspace

Throughput, one TCP streamMbit/sHigher is better

  • Kernel WireGuard3367 3295–3497
  • OpenVPN 2.6.14, userspace1933 1651–2064

First ping reply after setupmsLower is better

  • Kernel WireGuard140 128–161
  • OpenVPN 2.6.14, userspace786 682–803

Ping round trip, average of 50msLower is better

  • Kernel WireGuard0.554
  • OpenVPN 2.6.14, userspace0.526

Ping round trip, highest of 50msLower is better

  • Kernel WireGuard1.730
  • OpenVPN 2.6.14, userspace3.979

Each group has its own scale.

Same-host run, 2026-10-16: kernel WireGuard and userspace OpenVPN 2.6.14 in one virtual machine, median with min–max of five 20-second iperf3 runs. With no tunnel the stream carried 103687 Mbit/s (102157 to 105318).
Show the data
GroupSeriesValueRange
Throughput, one TCP streamKernel WireGuard3367 Mbit/s3295–3497
Throughput, one TCP streamOpenVPN 2.6.14, userspace1933 Mbit/s1651–2064
First ping reply after setupKernel WireGuard140 ms128–161
First ping reply after setupOpenVPN 2.6.14, userspace786 ms682–803
Ping round trip, average of 50Kernel WireGuard0.554 ms
Ping round trip, average of 50OpenVPN 2.6.14, userspace0.526 ms
Ping round trip, highest of 50Kernel WireGuard1.730 ms
Ping round trip, highest of 50OpenVPN 2.6.14, userspace3.979 ms

In this run, yes: kernel WireGuard had a higher median single-stream throughput than userspace OpenVPN on the same host, and every WireGuard run was above every OpenVPN run.

How this was tested

Product
WireGuard (wireguard-tools 1.0.20210914-3, Linux kernel module) and OpenVPN 2.6.14-1+deb13u3, iperf3 3.18
Version
Debian 13.7 arm64 packages (openvpn, wireguard-tools, iperf3) in debian:stable-slim containers
System
Ubuntu guest kernel 6.8.0-117-generic, aarch64, 6 vCPU, 8 GiB, one VM on an Apple-silicon Mac
Checked
Runs
5
Not tested

Two containers on one user bridge network inside one VM; both tunnels were up at the same time. Single-stream iperf3 TCP, 20 seconds, five rounds in the order no tunnel, WireGuard, OpenVPN. WireGuard: in-kernel module, tunnel MTU 1420. OpenVPN: UDP port 1194, TLS 1.3 control channel with throwaway ECDSA P-256 certificates, AES-256-GCM as the only data cipher, default tun MTU, userspace. DCO was not available: OpenVPN 2.6.14 is built with DCO support, but the guest kernel has no ovpn module, and OpenVPN logged that it was disabling data channel offload. Connect time is measured from the start of client setup to the first ping reply, ten runs per arm; WireGuard's server peer was configured beforehand, OpenVPN's server was restarted before each timing. CPU was sampled with docker stats but is not reported: in-kernel WireGuard work is not charged to the container's cgroup, so the two arms are not comparable on it. Not tested: OpenVPN over TCP, a ChaCha20 arm, wireguard-go (the userspace Go implementation of WireGuard), several parallel streams, a real network path, leak behaviour, and our own core in the container. The host CPU model is not visible from inside the guest and no container CPU limit was set.

Every figure from the same-host run, including TCP retransmits and the no-tunnel baseline
MeasureNo tunnelKernel WireGuardOpenVPN 2.6.14, userspace
Throughput, median (Mbit/s)10368733671933
Throughput, lowest to highest run102157 to 1053183295 to 34971651 to 2064
TCP retransmits per run0, 864, 5, 112, 10, 0, 157, 0, 01027, 2420, 1356, 992, 1052
First ping reply after setup, median (ms)not applicable140786
First ping reply, lowest to highest (ms)not applicable128 to 161682 to 803
Ping round trip, 50 packets, average (ms)0.0960.5540.526
Ping round trip, highest of the 50 (ms)0.7951.7303.979

WireGuard did not win the round-trip row on average. The ping average is slightly lower for OpenVPN, 0.526 ms against 0.554 ms, while OpenVPN's single worst ping was more than twice WireGuard's. Fifty pings on a bridge inside one machine won't settle latency anyway.

The baseline needs a caution too. A no-tunnel stream between two containers reached 103687 Mbit/s because the packets never leave the machine. Both tunnels sit far below it, which tells you that encryption and the extra copies cost real throughput on this hardware, not that either would reach those numbers on a link.

This comparison also mixes two things. Kernel WireGuard is a protocol and a kernel implementation; OpenVPN here is a protocol and a userspace one. The difference you see in the table is both at once.

Our older dated measurements are about a different question, our own tunnel core against the kernel module and two other userspace implementations, and they are in Throughput per CPU cycle on real routers.

Does OpenVPN DCO change the comparison?

Yes, because DCO moves OpenVPN's data channel out of userspace, so a userspace number does not describe OpenVPN with DCO. OpenVPN's community wiki calls the feature Data Channel Offload, also written OVPN-DCO.

DCO was off in the same-host run

In our run it was off. The OpenVPN build carried the DCO code, but the guest's Linux kernel had no ovpn module and no /dev/ovpn device existed. The log said ovpn-dco was missing and that OpenVPN was "disabling data channel offload".

So the OpenVPN row above is userspace OpenVPN, the configuration you get on a kernel without the module. We did not run the DCO arm in this run; the dedicated-server run in the last section did.

If you plan to run OpenVPN on a Linux server you control, check whether your kernel can load the module before you read any OpenVPN speed figure, ours included. The wiki defines DCO as moving "the processing of data packets from the OpenVPN userspace program to a separate entity", offloaded to the kernel.

How do WireGuard and OpenVPN set up a session?

WireGuard runs one fixed handshake between two static public keys; OpenVPN opens a TLS session and uses it to agree on keys for a separate data channel.

WireGuard

  1. Peer A static public key
  2. Peer A static public key

OpenVPN

  1. Client A certificate, or a username and password
  2. Server A certificate signed by a root you name with --ca
How each protocol sets up a session: WireGuard runs one fixed handshake between two static public keys; OpenVPN opens a TLS session and uses it to agree on keys for a separate data channel.

WireGuard's protocol page names the construction Noise_IKpsk2_25519_ChaChaPoly_BLAKE2s and says it is based on the Noise_IK handshake. A handshake message carries the sender's encrypted static key and a timestamp. The page lists these properties:

  • avoiding key-compromise impersonation
  • avoiding replay
  • perfect forward secrecy
  • identity hiding

The handshake repeats every few minutes so session keys rotate. An optional pre-shared key is mixed in, and when it is not in use, an all-zero value is assumed.

OpenVPN's TLS mode, in the 2.6 manual, establishes a control channel and a data channel multiplexed over a single port. The control channel is a TLS session over a reliability layer; the manual says it provides certificate-based authentication and Diffie Hellman forward secrecy, and that it is used to exchange the keys that protect the data channel.

In our run the OpenVPN log shows the result: a TLS 1.3 control channel with TLS_AES_256_GCM_SHA384 and a P-256 certificate, then a data channel with AES-256-GCM.

The connect-time row is not a clean TLS measurement. The OpenVPN timing window also covers starting the daemon, loading the certificates and keys and bringing up the tun device. The run did not separate any of that from the TLS 1.3 handshake.

What you can fairly expect from the shape of the protocol is that a tunnel that does certificate checks has more to do than one that checks a key it already knows.

Which ciphers do WireGuard and OpenVPN use?

WireGuard has no cipher menu; OpenVPN negotiates one. The protocol page lists WireGuard's fixed primitives:

  • ChaCha20 for symmetric encryption, authenticated with Poly1305
  • Curve25519 for key agreement (ECDH)
  • BLAKE2s for hashing

It cites RFC 7539 for the ChaCha20-Poly1305 construction; that RFC has since been replaced by RFC 8439.

The 2.6 manual says that in 2.6 and later the default --data-ciphers list is AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305 when ChaCha20-Poly1305 is available, and that from 2.5 on the server's list order decides which cipher is picked. It also warns that clients based on the OpenVPN 3.x library have no configurable cipher option, so a server must keep one of the ciphers they use in its list.

We pinned OpenVPN to AES-256-GCM alone, and WireGuard stayed on its own fixed cipher, so the two arms did not use the same cipher.

On hardware with AES instructions that could favour OpenVPN; on hardware without them it could favour WireGuard. We did not run a ChaCha20 arm for OpenVPN, so we cannot say which way it moved the result.

The practical point for anyone choosing: a fixed suite leaves nothing to misconfigure, and a negotiated suite lets old and new clients meet in the middle. Which one you want depends on whether you control every client that connects.

Is WireGuard more secure than OpenVPN?

Neither the WireGuard protocol page nor the OpenVPN 2.6 manual ranks them, and we will not either. What they do describe are mechanisms you can weigh against your own risk.

Any sentence that says "X is more secure" without naming a mechanism and a source is a claim nobody has shown you the evidence for.

The mechanisms differ in shape. WireGuard has one handshake, a short list of primitives and a mitigation for handshake floods. The protocol page describes a cookie reply the server may send when it is under load, so it does not spend CPU on a Diffie-Hellman computation for an unverified sender.

OpenVPN has certificate authentication, optional username and password through --auth-user-pass, and a choice of data ciphers, all documented in its manual.

More options give more room to fit an existing system and more room for a weak combination. Fewer options give less of both.

That is a trade, and the right side of it depends on who runs the other end. A single-owner tunnel between your own devices rarely needs certificate revocation lists; a company with hundreds of users usually does.

If a security review is the reason you are reading, do not decide from this article. Read both primary pages above, then the version you will actually deploy. Version matters: the OpenVPN 2.6 manual says the default data ciphers changed between 2.5 and 2.6.

Does WireGuard work over TCP?

No: WireGuard's protocol page says all packets are sent over UDP. OpenVPN's manual lists "TCP or UDP tunnel transport through proxies or NAT", and its example client config tries UDP first and then TCP on a second port.

That asymmetry is one reason people keep OpenVPN around. When the only path available to a machine is a TCP stream, a UDP-only tunnel has nothing to ride on, and OpenVPN has a transport for it.

What do WireGuard and OpenVPN need configured?

WireGuard needs a key pair per peer and a list of which addresses each peer may use; OpenVPN needs a certificate authority, a certificate and key per machine, or a password backend, plus a cipher and transport choice.

AspectWireGuardOpenVPN 2.6
TransportUDP only, per the protocol pageTCP or UDP, per the manual
HandshakeNoise_IK family, construction Noise_IKpsk2_25519_ChaChaPoly_BLAKE2sTLS mode: control channel plus data channel on one port
Who you areA static public keyA certificate signed by a root you name with --ca, or a username and password with --auth-user-pass
Data cipherChaCha20-Poly1305, fixedNegotiated from --data-ciphers
Forward secrecyListed as a property of the key exchangeProvided by Diffie Hellman in the TLS control channel
Optional extraPre-shared key mixed into the handshake--tls-crypt and --tls-auth listed among the options
Read on2026-10-162026-10-16

The WireGuard side of that table is short because the project chose to leave things out. How a client learns a peer's key, or how a company hands out and revokes many of them, is outside the protocol. You build that with scripts or a management layer, and that is where managed products live.

OpenVPN's side is longer because it ships the pieces: certificates, a plugin and script system for authentication, and options for the data channel. The cost is a longer config and more to keep current.

On WireGuard, the interface size is set by the MTU.

Should you run WireGuard or OpenVPN on a router?

Run the one your router software already ships and your other end already speaks; if both are available, WireGuard needs less on the router and OpenVPN needs more but covers more cases.

On OpenWrt, WireGuard is a kernel interface, so the work is the key, the peer, a firewall zone and a forwarding rule. Our guide OpenWrt WireGuard: three ways to run a VPN compares all three routes, including an OpenVPN tunnel, and gives the manual WireGuard steps.

For hardware and the two shapes our own client takes, read MikroTik vs OpenWrt as a VPN router, and the install pages for OpenWrt and MikroTik list what is published.

A router's CPU is the constraint here, and the run above was not on a router. We would not read those two throughput figures as what a small router would do.

We did take a router measurement, but of a different pair: our core against RouterOS's own kernel tunnel, in the same post.

One check after any router recipe: once you bring a tunnel up, your devices should show a working connection. If the tunnel says it is up and pages still do not load, VPN connected but no internet maps the app's messages to causes.

Should you self-host WireGuard or OpenVPN?

Self-host WireGuard when you control every device and want a short config; self-host OpenVPN when you need TCP, per-user certificates, or password login.

For a handful of your own devices, a WireGuard server set up with wireguard-tools is one interface, one key pair per device and a NAT rule on the server so traffic can leave. The test server in this run was set up that way: one interface and one peer.

Self-hosted WireGuard vs a VPN service times the build and lists the upkeep. The cost shows up later, when a device is lost and you must remove its key by hand, or when a friend wants access and you must hand them a config file.

OpenVPN fits where an organisation already has a certificate authority or a directory, where users come and go, or where the path to the server only carries TCP. Its manual describes scaling to hundreds or thousands of users.

If you want neither the key handling nor the server, that is a different decision from the protocol choice.

What does ForestVPN use, and where did it lose?

The ForestVPN core, Quantum, is our own tunnel engine, as the WireGuard compare page describes, and it speaks WireGuard's unmodified Noise_IKpsk2 handshake, as the protocol page describes. It is not OpenVPN.

Our core was not part of the container run above, so that arm is missing rather than estimated. It was part of two later Linux runs, and the timeline at the top dates both.

How did ForestVPN do against OpenVPN on 2026-10-30?

  • ForestVPN’s core, threads = vCPUs
  • Kernel WireGuard
  • OpenVPN with DCO
  • Userspace OpenVPN

2 vCPUs eachMbit/sWe led

  • ForestVPN’s core, threads = vCPUs9449 9162–9679
  • Kernel WireGuard5544 5031–5556
  • OpenVPN with DCO3754 3173–3776
  • Userspace OpenVPN588 586–589

4 vCPUs eachMbit/sWe led

  • ForestVPN’s core, threads = vCPUs10203 9259–10485
  • Kernel WireGuard4618 4379–4630
  • OpenVPN with DCO3622 3475–3721
  • Userspace OpenVPN740 577–753
Two VMs on one host, 2026-10-30, one TCP stream, Mbit/s, median with min–max of 5 runs. OpenVPN 2.7.0 over UDP with AES-256-GCM; ForestVPN’s core ran as many threads as vCPUs.
Show the data
GroupSeriesValue, Mbit/sRange
2 vCPUs eachForestVPN’s core, threads = vCPUs94499162–9679
2 vCPUs eachKernel WireGuard55445031–5556
2 vCPUs eachOpenVPN with DCO37543173–3776
2 vCPUs eachUserspace OpenVPN588586–589
4 vCPUs eachForestVPN’s core, threads = vCPUs102039259–10485
4 vCPUs eachKernel WireGuard46184379–4630
4 vCPUs eachOpenVPN with DCO36223475–3721
4 vCPUs eachUserspace OpenVPN740577–753

ForestVPN’s core carried 2.5 and 2.8 times what OpenVPN with DCO did, and 16 and 14 times userspace OpenVPN, at 2 and 4 vCPUs, and used 12.7 and 14.2 CPU cycles per byte against DCO’s 22.6 and 23.6 (whole host, both ends).

OpenVPN moves one stream through one process or one kernel path, so it got no extra threads: this is each tunnel as it runs, not a matched-cores test.

Where we lost, in the open

  • It lost on latency: ping p99 under that load was 5.52 and 3.92 ms for our core against 1.43 and 1.85 for DCO and about 1.5 for userspace OpenVPN.
  • Over a 2.5 Gbit/s link between two other hosts, every tunnel but userspace OpenVPN reached the link, and DCO used the least host CPU per gigabit of any, 0.48 CPU seconds against our 0.67 (whole host, no-tunnel baseline not subtracted).
  • ForestVPN’s core, threads = vCPUs
  • OpenVPN with DCO
  • Userspace OpenVPN

CPU cycles per byte, 2 vCPUscycles per byteWe ledLower is better

  • ForestVPN’s core, threads = vCPUs12.7
  • OpenVPN with DCO22.6

CPU cycles per byte, 4 vCPUscycles per byteWe ledLower is better

  • ForestVPN’s core, threads = vCPUs14.2
  • OpenVPN with DCO23.6

Ping p99 under load, 2 vCPUsmsWe lostLower is better

  • ForestVPN’s core, threads = vCPUs5.52
  • OpenVPN with DCO1.43
  • Userspace OpenVPNabout 1.5

Ping p99 under load, 4 vCPUsmsWe lostLower is better

  • ForestVPN’s core, threads = vCPUs3.92
  • OpenVPN with DCO1.85
  • Userspace OpenVPNabout 1.5

Host CPU per gigabit over 2.5 GbECPU seconds per gigabitWe lostLower is better

  • ForestVPN’s core, threads = vCPUs0.67
  • OpenVPN with DCO0.48

Each group has its own scale.

OpenVPN run, 2026-10-30: CPU cycles per byte (whole host, both ends) and ping p99 under load on two VMs on one host, and host CPU seconds per gigabit over 2.5 GbE (baseline not subtracted).
Show the data
GroupSeriesValueRange
CPU cycles per byte, 2 vCPUsForestVPN’s core, threads = vCPUs12.7 cycles per byte
CPU cycles per byte, 2 vCPUsOpenVPN with DCO22.6 cycles per byte
CPU cycles per byte, 4 vCPUsForestVPN’s core, threads = vCPUs14.2 cycles per byte
CPU cycles per byte, 4 vCPUsOpenVPN with DCO23.6 cycles per byte
Ping p99 under load, 2 vCPUsForestVPN’s core, threads = vCPUs5.52 ms
Ping p99 under load, 2 vCPUsOpenVPN with DCO1.43 ms
Ping p99 under load, 2 vCPUsUserspace OpenVPNabout 1.5 ms
Ping p99 under load, 4 vCPUsForestVPN’s core, threads = vCPUs3.92 ms
Ping p99 under load, 4 vCPUsOpenVPN with DCO1.85 ms
Ping p99 under load, 4 vCPUsUserspace OpenVPNabout 1.5 ms
Host CPU per gigabit over 2.5 GbEForestVPN’s core, threads = vCPUs0.67 CPU seconds per gigabit
Host CPU per gigabit over 2.5 GbEOpenVPN with DCO0.48 CPU seconds per gigabit

These are OpenVPN 2.7.0 figures; they say nothing about 2.6, and the kernel module carried less at 4 vCPUs than at 2 for reasons we have not found.

How the 2026-10-30 run was set up

The newer run, on 2026-10-30, ran on x86_64 virtual machines of our own: two VMs of 2 or 4 vCPUs on one host (AMD Ryzen 7 8845HS), Ubuntu 26.04.1, kernel 7.0, OpenVPN 2.7.0 over UDP with AES-256-GCM in userspace and with the kernel's own DCO driver, against ForestVPN's Linux daemon at as many threads as vCPUs, iperf3 3.20, one TCP stream for 15 s, median of 5 runs (OpenVPN run).

How did the earlier build do on 2026-10-16?

  • Kernel WireGuard
  • OpenVPN with DCO
  • ForestVPN’s core, one thread
  • Userspace OpenVPN

x86Mbit/sWe lost

  • Kernel WireGuard5200 5187–5205
  • OpenVPN with DCO3602 3555–3637
  • ForestVPN’s core, one thread1707 1642–1739
  • Userspace OpenVPN803 746–863

arm64Mbit/sWe lost

  • Kernel WireGuard2560
  • OpenVPN with DCO1411
  • ForestVPN’s core, one thread766 758–838
  • Userspace OpenVPN288
Dedicated servers, 2026-10-16, one TCP stream, Mbit/s, median with min–max where recorded. ForestVPN’s core ran one thread; OpenVPN 2.6.19 used AES-256-GCM and the WireGuard family ChaCha20-Poly1305, so the cipher differs.
Show the data
GroupSeriesValue, Mbit/sRange
x86Kernel WireGuard52005187–5205
x86OpenVPN with DCO36023555–3637
x86ForestVPN’s core, one thread17071642–1739
x86Userspace OpenVPN803746–863
arm64Kernel WireGuard2560
arm64OpenVPN with DCO1411
arm64ForestVPN’s core, one thread766758–838
arm64Userspace OpenVPN288

The older run measured the build before the 2026-10-30 changes: ForestVPN’s core, at its default single thread, carried about 2.1 times what userspace OpenVPN did on x86 and 2.7 times on arm64, and lost to the other two.

Where the earlier build lost

  • It lost to kernel WireGuard by about three times and to OpenVPN with DCO by about two times, at one thread.
  • OpenVPN with DCO also used fewer CPU cycles per byte on arm64 (32.3 against 39.7) and tied on x86 (17.9 against 16.4, ranges overlap).
  • OpenVPN with DCO
  • ForestVPN’s core, one thread

CPU cycles per byte, x86cycles per byteTieLower is better

  • OpenVPN with DCO17.9
  • ForestVPN’s core, one thread16.4

CPU cycles per byte, arm64cycles per byteWe lostLower is better

  • OpenVPN with DCO32.3
  • ForestVPN’s core, one thread39.7

Each group has its own scale.

CPU cycles per byte on the dedicated servers, 2026-10-16: OpenVPN with DCO against ForestVPN’s core at one thread. The x86 ranges overlap, so that row is a tie.
Show the data
GroupSeriesValueRange
CPU cycles per byte, x86OpenVPN with DCO17.9 cycles per byte
CPU cycles per byte, x86ForestVPN’s core, one thread16.4 cycles per byte
CPU cycles per byte, arm64OpenVPN with DCO32.3 cycles per byte
CPU cycles per byte, arm64ForestVPN’s core, one thread39.7 cycles per byte

A second run of the same earlier build on 2026-10-17 (thread sweep) gave our core more threads on the same two dedicated types, on a different pair of instances; there the kernel module and wireguard-go still carried about 1.9 to 2.4 times our best, and OpenVPN was not part of it. The compare page has that run and does not mix its figures with these.

How the 2026-10-16 run was set up

The older run, on 2026-10-16, measured the build before the 2026-10-30 changes on dedicated Linux servers, described on the compare page: two Scaleway instances of one type on a private network, Ubuntu 24.04.5, kernel 6.8.0-142, iperf3 3.16, one TCP stream for 20 s, median of 5 runs. ForestVPN's Linux daemon ran at its default single thread, with its optional extra key exchange off. OpenVPN 2.6.19 used AES-256-GCM and the WireGuard family ChaCha20-Poly1305, so the cipher differs.

What did the router run show on 2026-09-01?

Older dated figures from the throughput post are about other hardware: on two MikroTik routers on 2026-09-01, our core reached 122 Mbit/s against 66.8 Mbit/s for RouterOS's own kernel tunnel, and lost the router round trip, 1.22 ms against the kernel tunnel's 0.92 ms.

  • ForestVPN’s core
  • RouterOS’s own tunnel

ThroughputMbit/sWe ledHigher is better

  • ForestVPN’s core122
  • RouterOS’s own tunnel66.8

Round-trip timemsWe lostLower is better

  • ForestVPN’s core1.22
  • RouterOS’s own tunnel0.92

Each group has its own scale.

Two MikroTik routers, 2026-09-01: throughput and round-trip time. A different traffic generator ran on each side, so read 122 against 66.8 with that method attached.
Show the data
GroupSeriesValueRange
ThroughputForestVPN’s core122 Mbit/s
ThroughputRouterOS’s own tunnel66.8 Mbit/s
Round-trip timeForestVPN’s core1.22 ms
Round-trip timeRouterOS’s own tunnel0.92 ms

The router run used a different traffic generator on each side, so read 122 against 66.8 as a result with that method attached.

For the ForestVPN-against-WireGuard matrix, use the compare page instead of this one.

The boundary: the Linux figures describe the Linux daemon on servers and virtual machines with the settings above. They say nothing about the phone, desktop or router apps, and the container run says nothing about ours.

Updated 2026-10-30: added the 2026-10-30 OpenVPN run; the 2026-10-16 figures are marked as the earlier build.

WireGuard or OpenVPN: which should you choose?

Choose by what the other end needs, not by a speed table.

Pick WireGuard if

  • you want a small, fixed set of primitives and a short config
  • you want a small codebase, which the WireGuard site states as its own aim
  • you have your own few devices and UDP is available

Pick OpenVPN if

  • you need a TCP transport
  • you need certificates or a username and password per user

To measure it yourself before deciding, run both on your own hardware, with DCO state written down.

A speed table from a different host does not carry to yours, and ours does not carry either.

Repeat the run on the machine that will do the work, with iperf3 and the same cipher on both sides if you want the protocols compared rather than the ciphers.

The protocol is also only one layer. The account model, how keys are handed out, what the app tells you when something fails and the kill switch matter as much on a day you are not benchmarking.

Questions and answers

Is WireGuard faster than OpenVPN?

In our one run, yes: kernel WireGuard reached a higher single-stream throughput than userspace OpenVPN 2.6.14 on the same host. That run did not use OpenVPN DCO, so it is a result for that configuration, not a ratio to quote.

Is WireGuard more secure than OpenVPN?

This article does not rank them. WireGuard fixes one handshake and one set of primitives. OpenVPN lets you choose ciphers and authentication. Fewer choices means fewer ways to misconfigure, and more choices means more places to fit an existing setup. Each project's own pages describe the mechanism.

Does WireGuard work over TCP?

Not by itself. WireGuard's protocol page says all packets are sent over UDP. If you need a TCP transport, OpenVPN lists TCP as an option.

What is OpenVPN DCO and does it change the comparison?

DCO (ovpn-dco) is OpenVPN's data channel offload, which needs a kernel module on Linux. It changes where OpenVPN's data path runs, so a userspace OpenVPN number cannot be used to describe it. In our run the module was missing and OpenVPN logged that it was disabling DCO.

How long does each take to connect?

In our run the first ping reply came after a median of 140 ms for WireGuard and 786 ms for OpenVPN. The OpenVPN figure includes a TLS 1.3 handshake and a server that had just been restarted, so the two are not the same job.

Which should I run on a router?

Run whichever your router software and your other end already support. Both exist on OpenWrt. The article OpenWrt WireGuard: three ways to run a VPN covers the WireGuard install steps and the firewall zone and forwarding rule any tunnel needs.

Which should I self-host?

Choose WireGuard if you have a few known devices and want a short config. Choose OpenVPN if you need TCP, per-user certificates or password login.

What does ForestVPN use?

Quantum, ForestVPN's own tunnel engine, as the WireGuard compare page describes it, which speaks WireGuard's unmodified Noise_IKpsk2 handshake, as the protocol page describes it. The app shows a connection state computed on the device from the tunnel's own counters.

Sources

  1. WireGuard: fast, modern, secure VPN tunnel (read October 16, 2026)
  2. WireGuard protocol and cryptography (read October 16, 2026)
  3. WireGuard performance (the project's own benchmark notes) (read October 16, 2026)
  4. OpenVPN 2.6 manual page (read October 16, 2026)
  5. OpenVPN community wiki: Data Channel Offload (read October 16, 2026)
  6. RFC 8439: ChaCha20 and Poly1305 for IETF Protocols (read October 16, 2026)

How this was made

Drafted with AI assistance from a test run on 2026-10-16 (Debian packages in two containers, raw iperf3 output kept), the WireGuard and OpenVPN project pages read that day, and our own protocol page; checked by automated gates and an editor.

All posts

Back to top

Ask us anything