Share the mirror link with those who cannot access this site: https://storage.googleapis.com/amnezia/amnezia.org

AmneziaWG 3.1 Bypasses Advanced Blocking

The updated protocol is harder to block: it stays under the radar of AI systems and controls randomization for a number of parameters.

The updated protocol will make you invisible to censors and cybercrooks. Available to all Amnezia VPN users

Amnezia Self-hosted users have gained access to the updated AmneziaWG 3.1 protocol, and Amnezia Premium users to 3.0.

To see its benefits, install the Amnezia VPN 5.0.1.5 update.

In this article, we’ll explain what changed in our protocol — the successor to WireGuard — and why.

Why We Updated the Protocol

Back in the early stages of the summer attack, members of the Amnezia VPN technical team realized that the blocking had reached a new level. The initial solution, using VLESS as a fallback, proved short-lived.

Where TMCTTechnical Measures to Counter Threats and DPI systems used to analyze individual packets to assess the legitimacy of traffic, the summer’s events showed that censors now assess the connection as a whole, as a data flow, together with the endpoint. Here are just some of these characteristics:

  • packet sizes and sequence,
  • inter-packet arrival times,
  • handshake patterns,
  • keepalive packets,
  • traffic volume,
  • number of connections,
  • recurring statistical patterns.

Given that, changing one or even several parameters isn’t enough — a new approach is needed to obfuscate traffic and make it mimic a legitimate one.

To protect user data and guarantee that the service works under the changed conditions, we rebuilt our own protocol — and thus AmneziaWG 3.1 was born.

What Changed

The updated AmneziaWG 3.1 makes blocking bypassing more effective. What’s more, it’s more resistant to attacks on the protocol itself. To ensure user privacy, we:

  • Protected traffic from detection at the handshake stageA handshake is the establishment of a connection between two network elements.
  • Expanded the set of parameters for randomizing the pre-shared keyA secret code that allows a connection to be established with an Amnezia VPN server.
  • Protected against blocking built on behavioral AI analysis — through obfuscation of metadata and technical values.

How to Install AmneziaWG 3.1

To connect via the updated protocol, first install Amnezia VPN 5.0.1.5 or newer. After that, it all depends on which Amnezia VPN service you use.

For Amnezia Premium and Free

Amnezia Premium and Free users get access to AmneziaWG 3.0 by default. No additional setup is required — just select AmneziaWG from the list of protocols.

For Amnezia Self-hosted

  1. Remove the AmneziaWG 2.0 container.
  2. Create a new server under AmneziaWG 3.1. In some cases, the protocol’s operation depends on the i1 parameter — configure it for your connection. Another parameter worth paying attention to is the MTUMaximum transmission unit. Try lowering it from 1376 to 1280.
  3. Issue updated access keys to everyone who connected to your server.
  4. If no connection problems come up, remove the AmneziaWG 2.0 container.

If you do still run into errors and unstable connections, restore the AmneziaWG 2.0 container — it’s still available for now.

Important: update the access keys for all users at once as soon as you remove the AmneziaWG 2.0 container

If you have any further questions, we’ve put together detailed instructions in the project documentation. Or in our communities:

Discuss itonDiscord
Amnezia channel for comments and discussion

More on this topic

Amnezia tests access to Claude from a self-hosted VPN on three hosting providers. Where KYC came up, where it didn’t, and what IP reputation has to do with it

Anthropic Blocking and a Self-hosted VPN

We continue our study of restrictions in Claude and test a self-hosted VPN on different hosting providers.

3 min

Amnezia VPN 5.1.1.10: Relay Servers for Self-hosted Users

4 min
We create backup access channels to self-hosted servers and explain how the relay model of VPN connections works

The latest version helps ещ restore access after IP blocking or within the context of ISP issues.

We offer discounts on Amnezia Premium, call on you to build a “black box” of the internet while it’s still with us, and show some unusual online encyclopedias.

Building a Doomsday Black Box for Black Friday

Take advantage of discounts on Amnezia Premium, explore unusual online projects while they’re still accessible, and help us put together an archive of the internet.

6 min