It's Time to Retire OpenVPN: Censorship-Resistant VPNs in 2026

Why this matters

If you run a VPN for people behind a censoring firewall, OpenVPN should no longer be your main protocol. It is reliable, mature and easy to set up, but on a censored network it is now the easiest VPN to recognise and block.

Censors do not need to break the encryption. They only need to recognise the shape of the traffic. Think of an airport X-ray: the scanner cannot read your letters, but it can see that every OpenVPN suitcase has the same outline.

This post explains why OpenVPN is so easy to spot, and why two modern alternatives, AmneziaWG and ocserv (OpenConnect), are better choices in 2026.

Problem 1: OpenVPN is easy to fingerprint

If you run a VPN for people behind a censoring firewall, OpenVPN should no longer be your main protocol. It is reliable, mature and easy to set up, but on a censored network it is now the easiest VPN to recognise and block.

Censors do not need to break the encryption. They only need to recognise the shape of the traffic. Think of an airport X-ray: the scanner cannot read your letters, but it can see that every OpenVPN suitcase has the same outline.

This post explains why OpenVPN is so easy to spot, and why two modern alternatives, AmneziaWG and ocserv (OpenConnect), are better choices in 2026.In 2022, researchers from the University of Michigan showed that an ISP can identify most OpenVPN traffic with almost no mistakes. Their paper, OpenVPN is Open to VPN Fingerprinting, won a Best Paper Award at USENIX Security 2022.

They tested their method inside a real ISP with about one million users. It flagged 85.9% of normal OpenVPN connections and 72.7% of “obfuscated” ones, with a false-positive rate of at most 0.0039%. One ordinary server was enough to check 2 billion connections a day (finding summary).

The method uses three weak points that are built into the protocol:

  • The opcode byte. Every OpenVPN packet starts with an unencrypted byte that says what kind of message it is. The handshake therefore begins with the same, predictable bytes every time.
  • The ACK pattern. OpenVPN’s control channel sends small acknowledgement packets of uniform size, mostly at the start of the session. That rhythm is easy to count.
  • Active probing. A censor can send test packets to a suspect server. Even with tls-auth or tls-crypt enabled, the server’s timing and the point at which it drops the connection give it away.

Low false positives are what make this dangerous. A censor can block OpenVPN without breaking normal websites, so there is little political or economic cost to doing it.

Problem 2: the usual fixes do not save it

Admins usually try three tricks to hide OpenVPN. The research shows that none of them is enough.

  • XOR “scramble” patches. The opcode byte is always scrambled with the same key byte, so it still maps to a fixed value. All four large providers in the study that used XOR obfuscation were flagged more than 90% of the time (finding).
  • Wrapping it in another tunnel (stunnel, SSH, obfs, Shadowsocks). Without random padding, each OpenVPN packet still produces one outer packet of a similar size. In the study, 16 of 20 wrapped setups were still caught by the ACK pattern (finding).
  • Running on TCP port 443. The port number says “HTTPS”, but the bytes do not. A censor who looks past the port still sees OpenVPN.

TCP mode also has a speed cost. When a TCP tunnel carries TCP traffic, both layers retransmit lost packets, and on a lossy line they slow each other down. This is the well-known “TCP over TCP” problem.

The real-world result matches the research. In Russia, users have reported large outages of both OpenVPN and WireGuard after the regulator updated its DPI rules (Habr report).

Alternative 1: AmneziaWG

AmneziaWG is WireGuard with a disguise. It keeps WireGuard’s speed and simple design, but removes the fixed headers and predictable packet sizes that make plain WireGuard easy to recognise (GL.iNet docs, AmneziaWG docs).

It hides the traffic with a few groups of settings:

Parameters

What they do

Jc, Jmin, Jmax

Send a number of random “junk” packets of random size before each handshake

S1–S4

Add random bytes in front of handshake, cookie and data packets, so sizes are no longer fixed

H1–H4

Replace WireGuard’s fixed message-type numbers with custom values (ranges in version 2.0)

I1–I5

Send packets before the handshake that imitate another protocol, such as QUIC or WebRTC (version 2.0)

Version 2.0 is the one to deploy today. It added S3–S4, header ranges and the I1–I5 imitation packets. Note that I1–I5 are not generated for you; you must add them yourself.

Why it suits censored networks: every server can use its own random values, so there is no single byte pattern for a censor to search for. Speed stays close to plain WireGuard.

Its limits:

  • It runs on UDP only. A censor that blocks all unknown UDP traffic will also block AmneziaWG.
  • Client and server settings must match exactly, so you cannot use a stock WireGuard app.
  • Without I1–I5, the traffic looks random rather than like a known protocol. Random-looking traffic is itself a signal on the strictest networks.

Alternative 2: ocserv (OpenConnect)

ocserv takes the opposite approach to AmneziaWG. Instead of looking random, it looks like an ordinary HTTPS website: a real TLS connection on TCP port 443, with a real certificate for your own domain (ocserv project).

It speaks the Cisco AnyConnect protocol, so it works with the open-source OpenConnect clients and with Cisco’s own apps. A user only needs three things: the server address, a username and a password.

Camouflage mode is the key feature for censored networks. It was added in ocserv 1.2.0 to defeat active probing (Habr guide). The client must put a secret word in the connection URL. Anyone who connects without it, including a censor’s probe, gets a normal web error page (404 or 401) and never learns that a VPN is there (camouflage notes).

Speed: ocserv can add a DTLS channel over UDP for better speed. If UDP is blocked, it falls back to the TLS connection automatically.

Its limits:

  • A UDP stream running beside an HTTPS session to the same server is unusual. On the strictest networks, many admins switch DTLS off and accept TCP-only speed.
  • The openconnect client uses the GnuTLS library, whose TLS fingerprint is rare. Censors can, and reportedly have, blocked it by that fingerprint.
  • Not every client supports the camouflage URL. Some Cisco desktop versions had problems before ocserv 1.2.3 (issue 544).
  • You need a domain name and a valid TLS certificate.

Side by side

AmneziaWG and ocserv hide in different ways, which is exactly why they work well together.

 

OpenVPN

AmneziaWG

ocserv

Disguise strategy

None by default

Look random, or imitate another UDP protocol

Look like a normal HTTPS website

Transport

UDP or TCP (one per profile)

UDP only

TLS over TCP 443, optional DTLS over UDP

Passive DPI detection

Easy: fixed opcode and ACK patterns

Hard: per-server random values

Hard: real TLS with a real certificate

Active probing

Detectable, even with tls-crypt

No reply to strangers (WireGuard design)

Camouflage returns a normal web error

Main weak point

Protocol fingerprint

Blocked if all unknown UDP is blocked

Rare GnuTLS client fingerprint; UDP beside TLS

Speed

Good on UDP, poor on TCP

Close to WireGuard

Good with DTLS, fair on TCP only

Client setup

Import one .ovpn file

Import one config or QR code

Server URL, username, password

Needs a domain

No

No

Yes

Where OpenVPN still has a place

Retiring OpenVPN as your main protocol does not mean deleting it everywhere. It is still the right tool in a few cases:

  • Uncensored networks. For office access or home labs where nobody inspects traffic, OpenVPN remains mature, well-audited and supported on almost every device.
  • A last-resort fallback. It fails in different ways from AmneziaWG and ocserv, so a third, rarely used option can still help when the other two are down.
  • Devices with no other client. Some routers and older systems only support OpenVPN.

The point is about priority. On a censored network, OpenVPN should be the backup, not the front door.

Conclusion: how to move on

OpenVPN’s weakness is in its design, not its configuration, so no setting will fix it. On a censored network, run two modern protocols that fail in different ways, and keep OpenVPN only as a backup.

  1. Make AmneziaWG your daily driver. Use version 2.0, generate unique random values for each server, and add I1–I5 imitation packets if your network blocks random-looking UDP.
  2. Add ocserv as the TCP fallback. Put it on port 443 with a real certificate and camouflage mode on. On strict networks, test with DTLS off.
  3. Keep the two on separate IP addresses. The study showed censors finding hidden servers by scanning the neighbouring addresses of known VPN servers (finding).
  4. Move users gradually. Give each user both new profiles before you switch OpenVPN off.

No protocol stays unblockable forever. The safest plan is to have more than one way out, and to change before the censor forces you to.

Sources

I offer only downloadable links for AmneziaWG VPN.

On 64-bit Windows 10/11 with amd CPUs, DOWNLAOD HERE.

You will and only find it on APPLE STORE.

For Android devices with arm CPU, DOWNLAOD HERE. Or from Google Play.

Leave a Comment

Scroll to Top