AmneziaWG or VLESS Reality: which one to choose

AmneziaWG is WireGuard with changed headers and junk packets: it runs over UDP, is fast and light, and a profile is a single .conf file. VLESS Reality runs over TCP and looks like a visit to a real website, so it holds up better where filtering is strict, at the cost of a little more overhead. AmneziaWG is the quick everyday choice where it gets through, Reality the one that keeps working when the network gets serious, and both fit on one server.

Updated

On this page

Two different ideas of disguise

AmneziaWG is a tunnel at the level of IP packets. Inside it is plain WireGuard, with the same encryption and speed; only the outside of the packets changes. Junk packets go out before the handshake (Jc, Jmin, Jmax), random bytes are added to the handshake packets (S1, S2), and the packet type values are replaced with your own (H1–H4). Filters that look for WireGuard's fixed sizes and type bytes miss it.

AmneziaWG 2.0 goes further: padding for all four message types, header values picked from ranges, and I1–I5, packets before the handshake that can be shaped like another protocol, QUIC for example. Either way the idea is to hide what the traffic is.

VLESS Reality works the other way round: it doesn't hide that it is TLS, it is TLS. The connection starts with a TLS 1.3 handshake carrying the name of a real third-party website, a prober without the key gets that website, and the Vision flow removes the pattern of TLS inside TLS. The idea is to look like an ordinary HTTPS visit.

UDP or TCP in everyday use

  • A network that blocks or throttles UDP — some offices, hotels, public Wi-Fi and providers. AmneziaWG doesn't connect there or freezes; Reality on TCP 443 gets through almost everywhere.
  • Calls and games — their traffic is UDP. In AmneziaWG it travels as UDP; with VLESS it travels inside the TCP connection, which on a poor line adds delay.
  • A distant server or a heavy load — TCP slows down sooner, so the gap grows in AmneziaWG's favour. On a good line the difference is small.
  • Switching from Wi-Fi to mobile data — a WireGuard tunnel usually rides through it: the next packet simply comes from the new address. With Reality the outer connections break and the client opens new ones.
  • Many connections at once — in AmneziaWG they all share one tunnel. With Reality each new connection inside, to a new site for example, starts with its own handshake to the server, which costs a little time.

What the network and a prober see

  • AmneziaWG — UDP packets without WireGuard's signature. A stranger who sends packets to the server gets silence, as with WireGuard: it answers nothing without the right key.
  • AmneziaWG's weak spot — it doesn't look like any popular service. Where a network passes only familiar protocols or studies traffic closely, an unknown UDP stream with steady heavy traffic stands out, and over time it gets recognized.
  • VLESS Reality — a TLS 1.3 handshake with a real website's name and a popular browser's fingerprint (fp). A prober gets the real website.
  • Reality's weak spot — a big website's name leading to a small host's address, and long heavy sessions to one address. A careful filter may notice both.
  • What they share — neither hides the server's IP: if the address itself is blocked, only another server helps.

Speed and the server

AmneziaWG has WireGuard's speed: the encryption is light, the server runs it as a kernel module, and the masking adds bytes mostly around the handshake. That module is why the server builds it on install: with 1 GB of memory and no swap that takes 5–10 minutes, and with less it may not build.

Reality runs as a proxy in Xray: TLS on top, more work for the processor on weak devices, a few more bytes per connection. No build is needed, and the smallest plan will do. Other people's numbers say little about your line: put both on one server and measure them in the same place at the same time.

AmneziaWG and VLESS Reality side by side

  • Transport

    AmneziaWGUDP, any free port

    VLESS RealityTCP, usually port 443

  • How it hides

    AmneziaWGChanged headers, junk packets, random padding

    VLESS RealityThe TLS 1.3 handshake of a real third-party website

  • A stranger who knocks

    AmneziaWGSilence: no answer without the key

    VLESS RealityThe real third-party website

  • Strict filtering

    AmneziaWGGets recognized over time

    VLESS RealityHolds up better: it looks like ordinary browsing

  • A network without UDP

    AmneziaWGDoesn't connect

    VLESS RealityWorks: TCP 443 gets through almost everywhere

  • Speed on an ordinary network

    AmneziaWGWireGuard's speed, light on the processor

    VLESS RealityA little lower, a bit more overhead

  • Calls and games

    AmneziaWGTravel as UDP

    VLESS RealityTravel inside TCP

  • Profile

    AmneziaWGOne .conf file with [Interface] and [Peer]

    VLESS RealityOne vless:// link

  • Server

    AmneziaWGBuilds a kernel module, 1 GB of memory or more

    VLESS RealityXray, no build

  • Your own server in Veli

    AmneziaWGInstalled by the app

    VLESS RealityInstalled by the app

Which one when

  • An ordinary network, or one where only plain WireGuard is blocked — AmneziaWG: WireGuard's speed and a simple .conf.
  • Strict filtering, a network that lets only TCP through, or AmneziaWG stopped working after a while — Reality.
  • Calls, games, constant switching between Wi-Fi and mobile data — AmneziaWG, as long as UDP gets through.
  • A server with less than 1 GB of memory — Reality: the AmneziaWG module may not build there.
  • An allowlist network, where only approved sites get through — neither.

In practice: keep both on one server

  • They don't get in each other's way — Reality takes TCP 443, AmneziaWG its own UDP port.
  • Two profiles, one server — when one stops connecting, switch to the other; the server stays the same.
  • Matching settings — S1, S2 and H1–H4 must be the same on the server and the device, while Jc, Jmin and Jmax may differ. Change them on the server and every device needs a new .conf.
  • Compare on the spot — test each profile in the same place at the same time: the answer changes from network to network.

In Veli

Both protocols on your own server, from the app

In Veli both are installed on your own server over SSH: Profiles → Add → “Your own server”, the server's address and password, “Add the server”. On the server screen select VLESS Reality or AmneziaWG and click the install button. The other one goes alongside with the “Add a protocol” tile under “Protocols”: it opens the “New protocol” window and installs without touching what is already there, and a profile for this computer appears at once. Reality takes port 443, or 8443 or 9443 if that is taken. Where the server's AmneziaWG takes the 2.0 settings, the app uses them. The server can be set up from a phone too: Add → “Your own server”.

Both connect on Windows, macOS, Linux and Android, and “Add a device” gives each device its own QR code and link. One difference on a computer: rules by app and by site in Apps and sites work on Reality, while AmneziaWG takes only IP addresses, the ones you type and those of the ready-made lists. On Android, which app goes through the VPN can be chosen on either. Keep both profiles: “Fastest” connects to the one with the lowest latency, and on a computer, when one protocol of your server fails three times in a row, the app moves to the server's other protocol by itself.

FAQ

Which is faster, AmneziaWG or VLESS Reality?

On an ordinary network AmneziaWG: it has WireGuard's speed and runs over UDP. Reality over TCP is a little slower, but it gets through where AmneziaWG is recognized or UDP is blocked.

Why did AmneziaWG stop working after a while?

Where filtering is serious, a network learns to recognize it over time, or UDP to the server gets throttled. Switch to Reality on the same server.

Can AmneziaWG and VLESS Reality run on one server?

Yes: Reality uses TCP 443 and AmneziaWG its own UDP port. In Veli the second one is added with the Add a protocol tile on the server screen.

Does AmneziaWG work with a plain WireGuard server?

Partly: junk packets before the handshake alone work against plain WireGuard. Changed headers and padding need AmneziaWG on both ends.

AmneziaWG and Reality on one server

Let Veli install both on your VPS over SSH: the second one goes in with the Add a protocol tile, the first stays as it was.