Guides

VPN protocols: WireGuard, OpenVPN, IKEv2, Xray/VLESS

A VPN protocol defines how a device and a server build an encrypted tunnel. WireGuard is the fastest and simplest, OpenVPN the most mature and flexible, IKEv2/IPsec copes best with network switches on mobile, and Xray/VLESS over TLS makes tunnel traffic look like ordinary HTTPS. Each gives something up for its advantage.

Encryption strength is not the difference

All four protocols use modern, unbroken cryptography. They differ in speed, code size, behaviour on unstable networks and how recognisable their traffic is from outside — not in whether the encryption holds.

Newer usually means faster

WireGuard outpaces OpenVPN on the same hardware because it runs in the kernel with a light handshake. Age gives OpenVPN configurability and platform reach instead of raw throughput.

Visibility is a separate axis

WireGuard, OpenVPN and IKEv2 each produce traffic a network can classify as a VPN tunnel. Xray/VLESS inside real TLS is designed to be indistinguishable from an ordinary HTTPS session.

What a VPN protocol is and why the choice matters

A protocol is the agreement between your app and the server: how keys are exchanged, how packets are encrypted and packed, how a dropped connection is resumed. Your subscription usually includes several; the app picks one per connection, and switching is a menu item, not a commitment.

The choice shows up in three places. Throughput and battery use differ, because protocols cost different amounts of CPU per packet. Stability differs when you move between networks or sit behind strict firewalls. And visibility differs: some tunnels are trivially classified as VPN traffic by network equipment, others are designed to avoid classification. No protocol wins all three — which is why the menu exists.

WireGuard: speed and a small codebase

WireGuard is the default answer in 2026. About four thousand lines of code in the kernel against hundreds of thousands in older stacks, one modern cipher suite (ChaCha20-Poly1305) instead of a negotiation matrix, and a handshake that completes in a single round trip. In practice this means near line-rate throughput on ordinary hardware, fast reconnection and modest battery use on phones.

It pays for this with two design traits. First, a standard WireGuard server gives each peer a fixed address inside the tunnel, so a provider has to add its own layer — rotating internal addresses, dropping peer state after disconnect — to avoid a stable per-user identifier; whether that is done is a property of the provider, not the protocol. Second, WireGuard runs over UDP with a recognisable handshake pattern, so network equipment that wants to spot VPN traffic finds it easily, and networks that drop unknown UDP break it completely.

OpenVPN: maturity and flexibility

OpenVPN has been in production since the early 2000s, and that age is its asset: two decades of scrutiny, support on practically every platform and router, and configuration options for almost any network layout. It runs over UDP for speed or TCP for reachability, and on TCP port 443 it at least uses a port firewalls rarely close — although its TLS handshake still differs from a browser’s, so classification remains possible.

The price is weight. OpenVPN processes packets in user space, crossing the kernel boundary on every packet, and its throughput on the same hardware is usually a fraction of WireGuard’s, while reconnections are measured in seconds rather than instants. The codebase and its reliance on OpenSSL are orders of magnitude larger, which means a larger surface to audit. It remains the right tool on old routers, in corporate setups that require certificates and on networks where UDP is unusable.

IKEv2/IPsec: built for phones

IKEv2’s distinguishing feature is MOBIKE, a standard extension that lets an established tunnel survive a change of network address. Walk out of Wi-Fi range onto LTE and the session migrates without a new handshake — exactly the event that interrupts other protocols mid-call. Built-in support in iOS and Android, with encryption in the operating system’s IPsec stack, keeps battery use low and makes it a frequent default in mobile apps.

Its weaknesses are environmental. IKEv2 needs UDP ports 500 and 4500, which restrictive networks — hotel Wi-Fi, office firewalls — often block, and it has no TCP fallback of its own. Configuration is also less transparent than WireGuard’s: IPsec parameters are negotiated, and a poorly configured server can settle on weaker settings than intended. A strong choice on mobile, a fragile one on hostile networks.

Xray/VLESS: a tunnel that looks like HTTPS

VLESS is a lightweight transport protocol from the Xray project: minimal framing, no built-in encryption of its own, designed to run inside a real TLS session. Because the encryption layer is standard TLS — the same protocol every website uses — a VLESS connection on port 443 presents an ordinary handshake with a certificate followed by an opaque encrypted stream, which is exactly what any HTTPS session looks like from outside.

This matters on networks that classify and throttle or drop recognisable VPN protocols. Where WireGuard’s handshake or OpenVPN’s TLS quirks give the tunnel away, a well-configured Xray endpoint gives a classifier no distinguishable pattern beyond statistics. The costs: more moving parts on the server, throughput bound by TLS processing rather than kernel networking, and a small client ecosystem compared with mainstream protocols. LibroVPN uses WireGuard for everyday speed and Xray/VLESS on its own nodes for networks where standard tunnels are unreliable.

Which protocol to choose

Start with WireGuard and change only when something specific breaks. A practical mapping:

  • Default, speed, gaming, large downloads — WireGuard
  • A phone hopping between Wi-Fi and mobile data all day — IKEv2, or WireGuard if reconnections feel fast enough
  • A strict firewall that lets only web traffic through — OpenVPN over TCP 443, or better, Xray/VLESS
  • A network where recognisable VPN protocols stall or get dropped — Xray/VLESS over TLS
  • An old router or a corporate certificate requirement — OpenVPN
  • Not sure — leave the app on automatic and let it fall back in this order

FAQ

Frequently asked questions

What is a VPN and why do I need one?

A VPN encrypts your internet traffic and hides your real IP address. It protects your data on open networks, blocks tracking and unlocks content unavailable in your region.

Is using a VPN legal?

In most countries, yes: a VPN is an ordinary privacy tool. Some countries restrict it — check the rules where you are.

How many devices can I connect?

Up to 7 at once, depending on your plan: phones, laptops, tablets, and more.

Do you keep logs?

No. We don’t track, collect, or store your browsing activity, IP address, or connection data.

How do refunds work?

Every plan comes with a 14-day money-back guarantee: write to support within 14 days of paying.

Will it work in my country?

Our servers use several protocols, including ones built to keep working on networks that interfere with VPN traffic.