How VPN works

What is VLESS in plain words, and how it differs from OpenVPN and WireGuard

3 min read

How the VLESS protocol works, why it is light and fast, and how it differs from OpenVPN and WireGuard — without jargon.

In this article
  1. 1Each one in brief
  2. 2Why VLESS is so light
  3. 3Comparison
  4. 4Which one to choose
  5. 5How to connect via VLESS

When you connect to a secure connection, behind the “Connect” button there is a protocol — a set of rules by which your device and the server agree on how to transfer data. The best-known ones are OpenVPN, WireGuard and VLESS. Let’s see how they differ, without formulas or jargon.

Each one in brief

OpenVPN

The veteran: it appeared in the early 2000s and is still widely used. Its encryption is built on the proven OpenSSL library, and the protocol is highly configurable. The flip side of that flexibility is relatively heavy processing and a more noticeable loss of speed, especially on weak devices.

WireGuard

A modern, minimalist protocol. Its code is dozens of times shorter than OpenVPN’s, which makes it easier to check for bugs. It uses modern encryption algorithms, connects quickly and is built right into the Linux kernel. It runs over UDP.

VLESS

A lightweight protocol from the V2Ray and Xray family of projects. What makes it special is that VLESS itself doesn’t spend effort on encryption: it hands that job to the TLS standard — the same one that protects banking websites and email (the padlock in the address bar). The protocol itself only identifies the user and delivers the data.

Why VLESS is so light

Imagine a parcel. OpenVPN packs it into its own box and locks it with its own lock. VLESS puts the parcel into a standard safe that every device already has — TLS — and adds almost nothing of its own.

As a result:

  • less extra data in every packet, which means higher speed;
  • less load on your phone and the server, which means longer battery life;
  • reliable, proven encryption, because it is provided by TLS, which protects billions of connections every day.

To sign in, VLESS uses a unique identifier — a long key issued separately to each device.

Comparison

OpenVPN WireGuard VLESS
Since early 2000s late 2010s 2020
Encryption its own, based on OpenSSL built-in, modern standard TLS
Speed medium high high
Device load higher low low
Setup complex simple in an app, with a key

Which one to choose

For an ordinary user the difference shows up in two things: speed and stability. Both WireGuard and VLESS are noticeably easier on the battery and the connection than OpenVPN. VLESS has the extra advantage of relying on the most widespread encryption standard on the internet.

Only two things matter more than the protocol: who owns the server you connect to, and what the service says about your data in its privacy policy.

How to connect via VLESS

There’s nothing to configure separately. The service gives you a key — a string that starts with vless://. You paste it into a client app and then just tap “Connect”. It’s best to use a separate key for each device: that makes it easier to manage access and disconnect a lost phone.

Useful tools

All tools

More on this topic