All posts
Протоколы2026-04-05· 9 min

How modern VPN protocols work

A jargon-free breakdown: TLS, QUIC, congestion control, handshake — the building blocks of any VPN in 2026.

Start free
Telegram

Layer 0

What a VPN is made of

A VPN connection is not one monolithic mechanism — it's a stack of layers. Each layer can be swapped independently, and different protocols pick different combos.

The VPN stack

CamouflageReality · obfs · xHTTP
Congestion controlCubic · BBR · Brutal
TunnelVLESS · Hysteria · WG
Cryptographic handshakeTLS 1.3 / Noise
TransportTCP · UDP · QUIC
Top-down: from transport to camouflage

Разные протоколы выбирают разные комбинации:

ProtocolTransportCryptoCCCamouflage
WireGuardUDPNoise + ChaCha20simplenone
OpenVPNTCP / UDPTLS 1.2TCP Cubicnone
Hysteria 2UDPTLS 1.3 / QUICBrutalQUIC
VLESS RealityTCPTLS 1.3 fake-SNIBBRReality

Layer 1

QUIC — what it is

QUIC is a transport protocol Google developed in 2012 and the IETF standardized in 2021 (RFC 9000). The idea: bundle TCP + TLS + HTTP/2 into one. Runs over UDP but still gives delivery guarantees, encryption and stream multiplexing.

Why it matters for VPNs

  • 3× faster handshake — 1 RTT vs 3 RTT for TCP+TLS.
  • 0-RTT resumption — first byte ships immediately on reconnect.
  • No head-of-line blocking — streams don't fight each other.
  • Userspace CC updates — no kernel rebuilds.

Layer 2

TLS 1.3 vs TLS 1.2

TLS 1.3 was standardized in 2018 and today powers ~80% of HTTPS. Key difference from 1.2 — a drastically simplified handshake.

TLS 1.2TLS 1.3
Handshake2-RTT1-RTT (0-RTT on resume)
CiphersRSA, CBC okAEAD only
Forward secrecyoptionalalways
DPI signalreadable SNIESNI / ECH
Speedokfast
TLS 1.3 — the de facto baseline for modern VPNs

Layer 3

Congestion control — the speed engine

Where performance lives. CC decides how much data to send per unit of time: too much — loss and backoff, too little — idle channel.

TCP CubicTCP BBRBrutal
Year200620162022
Congestion signallossbandwidth × RTTignores loss
Lossy networks
Polite to neighbours
Used inLinux defaultYouTube · GCPHysteria 2

Layer 4

Why WireGuard isn't the ceiling

WireGuard is an excellent 2018-era protocol. Minimal overhead, simple format, modern crypto. But it has architectural limits that bite in 2026.

  • Fixed packet format — you can't swap CC without touching the kernel.
  • UDP-only — no TCP fallback when the carrier blocks UDP.
  • No built-in camouflage — WireGuard traffic fingerprints easily.
  • Static handshake — no 0-RTT resumption.

Hysteria 2 solves all of that: userspace with flexible CC, QUIC camouflage, 0-RTT, TCP fallback possible. Lunaire doesn't ship WireGuard as a primary protocol for these reasons.

Layer 5

Camouflage — obfs, Reality, xHTTP

Camouflage is a separate layer trying to make VPN traffic look like something ordinary. Three approaches:

obfsRealityxHTTP
Year201220232024
Strategyrandom bytesfake real-site TLSover HTTP/2
DPI resistance
Works via CDNНетНетДа
WhereHysteria 1 (legacy)Xray / VLESSXray, Cloudflare-friendly

Verdict

What to use in 2026

Short answer: Hysteria 2 primary + VLESS Reality fallback for UDP-blocked networks. Lunaire ships both in one client — no manual setup.

2
Protocols in one client
Hysteria 2 + VLESS Reality
1 GB
Free every day
no signup
0
Logs / metadata
no-log by design