Skip to content
ImportantAmneziaWG 3.1: how to upgrade and how to roll back to 2.0Reinstalling the protocol, default parameters, rolling back to 2.0 — and why issued configurations stop working afterwards.Read the guide →

🔁 AmneziaWG Stopped Working — Switch to XRay

If AWG no longer connects or the connection hangs, your ISP has most likely started blocking this type of traffic. AWG runs over UDP, and on heavily filtered networks that traffic is throttled entirely. The fix is to move the server to XRay, which runs over TCP and disguises itself as ordinary HTTPS.

Symptoms

  • The connection spins endlessly and drops on timeout.
  • AWG used to work and stopped with no configuration changes.
  • The same AWG connects on a different network (another carrier, wired internet).

If the server does not answer over SSH either, the protocol is not the problem — start with the step-by-step troubleshooting.

Step-by-step fix

  1. Update the app. Download the latest AmneziaVPN client from GitHub — mandatory, because older versions handle XRay incorrectly.
  2. Remove the old protocol. In the server settings inside the app, delete AWG completely.
  3. Install XRay. Click “Add protocol”XRay and set the masking parameters exactly:
SettingValue
Port443
SNIya.ru
  1. Wait for the installation to finish (up to a minute) and connect with XRay selected.

If 443 with ya.ru did not work

Change one thing at a time:

What to changeOptionsWhen to try it
Port8443, then 80443 is taken on the server or throttled by the ISP
SNI2gis.ru, pochta.rumasking as ya.ru does not pass DPI
Networkanother carrier, wired internetto find out whose network filters traffic

For manual setup with full control over ports, keys, and the masking domain, use the web panel: 3X-UI Panel and its alternative ports section.

Why XRay is more resilient

AmneziaWGXRay / VLESS + Reality
TransportUDPTCP + TLS
How the ISP sees itobfuscated VPN traffican ordinary HTTPS connection to an allowed site
Load on the devicelowerslightly higher on weak devices
DPI resistancehighmaximum

Full protocol comparison — Protocols. Ideally keep both on the server: AWG for speed, XRay as the fallback.