Skip to content
Veilgrid

Guide

OpenVPN explained

OpenVPN is an open-source VPN protocol that has been in wide use since the early 2000s. It is slower than WireGuard but gets through networks that WireGuard can't.

How it works

OpenVPN builds its tunnel with TLS, the same family of technology that secures HTTPS websites. It can run over UDP for speed or over TCP for reliability on awkward networks.

UDP or TCP

  • UDP: faster, and the right default.
  • TCP: slower, but can pass through firewalls that only allow web traffic. Use it when nothing else connects.

When to choose it

  • A hotel, campus or office network blocks WireGuard.
  • You're using an older device or router without WireGuard support.
  • You want the protocol with the longest public track record.

Trade-offs

OpenVPN does more work per packet than WireGuard and is usually noticeably slower on fast connections. It is also slower to reconnect when your network changes.

Where OpenVPN came from

OpenVPN was first released in 2001 as an open-source project and has been in continuous use since. For most of the following two decades it was the default protocol of commercial VPN services, which is why almost every router, operating system and VPN app can speak it.

That age is its main strength. The code has been examined, attacked and repaired for more than twenty years, and its behaviour on awkward networks is well understood.

How the encryption is put together

  • It uses TLS, the same family of technology that secures HTTPS websites, to prove the server is genuine and to agree on keys.
  • The data itself is then encrypted with a cipher the two ends agree on. AES-256-GCM is the common choice today.
  • It relies on a separate, widely used encryption library rather than its own, so it benefits from that library's fixes and inherits its size.
  • Because the settings are negotiable, a badly configured server can be weaker than a well configured one. With WireGuard there is nothing to configure.

OpenVPN next to WireGuard

FeatureOpenVPNWireGuard
Works over TCPYesNo
Passes for ordinary web trafficOften, on TCP port 443No
Typical speedLowerHigher
Reconnecting after a network changeSlowerNear instant
Years in useSince 2001Since 2016

A general comparison of the two protocols, not a measurement of any service.

Common problems and what to try

  • Connects, then stalls on large downloads: you are probably on TCP over a poor line. Switch to UDP.
  • Will not connect on office, school or hotel Wi-Fi: switch from UDP to TCP.
  • Slow everywhere: try WireGuard, then a server closer to you.
  • Drops when the laptop wakes: turn on the app's reconnect option and, if you rely on it, the kill switch.

Questions

Last updated December 3, 2026.

Ready when you are

Three plans, one product, every feature included. Try it for 30 days and get a full refund if it isn't for you.