[GH-ISSUE #1946] AmneziaWG on OpenWRT doesn't work with conf exported from AmneziaVPN client #843

Open
opened 2026-10-13 20:29:43 +00:00 by bsakaguchi · 5 comments
Owner

Originally created by @Gratzi3 on GitHub (Oct 22, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1946

Describe the bug
Handshake establishes, some packets (10) income from the tunnel, but then it's silence. Pinging DNS servers doesn't work either.

Server configuration was made from the phone. Similar connection works flawlessly on the phone.

To Reproduce
https://amneziavpn.org/documentation/instructions/openwrt-os-awg/

This is exactly what I did.

Expected behavior
Tunnel works

Smartphone (please complete the following information):

  • Device: Realme GT6
  • OS: Android 15
  • Version 4.8.10.1

Server (please complete the following information):

  • OS: Debian 12

**Router:

  • Device: Xiaomi AX3000T
  • Firmware: OpenWRT 24.10.3
Originally created by @Gratzi3 on GitHub (Oct 22, 2025). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1946 **Describe the bug** Handshake establishes, some packets (10) income from the tunnel, but then it's silence. Pinging DNS servers doesn't work either. Server configuration was made from the phone. Similar connection works flawlessly on the phone. **To Reproduce** https://amneziavpn.org/documentation/instructions/openwrt-os-awg/ This is exactly what I did. **Expected behavior** Tunnel works **Smartphone (please complete the following information):** - Device: Realme GT6 - OS: Android 15 - Version 4.8.10.1 **Server (please complete the following information):** - OS: Debian 12 **Router: - Device: Xiaomi AX3000T - Firmware: OpenWRT 24.10.3
Author
Owner

@Rabb1tof commented on GitHub (Oct 22, 2025):

Which hosting? Coming u've problem like me:
https://github.com/amnezia-vpn/amnezia-client/issues/1944#issuecomment-3432457634

<!-- gh-comment-id:3432869570 --> @Rabb1tof commented on GitHub (Oct 22, 2025): Which hosting? Coming u've problem like me: https://github.com/amnezia-vpn/amnezia-client/issues/1944#issuecomment-3432457634
Author
Owner

@Gratzi3 commented on GitHub (Oct 23, 2025):

Yes it's Aeza, I want to learn what's the reason because Xray works on Aeza (on non-standard port which surprised me).

<!-- gh-comment-id:3436224749 --> @Gratzi3 commented on GitHub (Oct 23, 2025): Yes it's Aeza, I want to learn what's the reason because Xray works on Aeza (on non-standard port which surprised me).
Author
Owner

@Rabb1tof commented on GitHub (Oct 23, 2025):

Yes it's Aeza, I want to learn what's the reason because Xray works on Aeza (on non-standard port which surprised me).

In my case: XRay working only on 443 UDP port and only Cellular (Mobile network), on wifi - connection dead.
I'll assume that Aeza's servers is being blocked.

<!-- gh-comment-id:3436235939 --> @Rabb1tof commented on GitHub (Oct 23, 2025): > Yes it's Aeza, I want to learn what's the reason because Xray works on Aeza (on non-standard port which surprised me). In my case: XRay working only on 443 UDP port and only Cellular (Mobile network), on wifi - connection dead. I'll assume that Aeza's servers is being blocked.
Author
Owner

@redcodeqq commented on GitHub (Oct 28, 2025):

увы ркн переиграло нас https://qna.habr.com/q/1404636

<!-- gh-comment-id:3454968546 --> @redcodeqq commented on GitHub (Oct 28, 2025): увы ркн переиграло нас https://qna.habr.com/q/1404636
Author
Owner

@randomsymbols commented on GitHub (Jun 5, 2026):

Root Cause

Luci web user interface cannot understand Amnezia Dynamic Headers for All Packet Types (H1-H4) format, so when Amnezia config is imported, it fails to save the correct H values.

Fix

Use OpenWrt terminal to write the values after importing the Amnezia config in Luci:
(awg1 is the name of the Amnezia network interface, use yours if different, also use your own H values from your config, these are just an example)

uci set network.awg1.awg_h1='1234567890-0987654321'
uci set network.awg1.awg_h2='1234567890-0987654321'
uci set network.awg1.awg_h3='1234567890-0987654321'
uci set network.awg1.awg_h4='1234567890-0987654321'
uci commit network
/etc/init.d/network restart
<!-- gh-comment-id:4635738682 --> @randomsymbols commented on GitHub (Jun 5, 2026): ### Root Cause Luci web user interface cannot understand [Amnezia Dynamic Headers for All Packet Types (H1-H4)](https://docs.amnezia.org/documentation/amnezia-wg/#how-it-works) format, so when Amnezia config is imported, it fails to save the correct H values. ### Fix Use OpenWrt terminal to write the values after importing the Amnezia config in Luci: (`awg1` is the name of the Amnezia network interface, use yours if different, also use your own H values from your config, these are just an example) ``` uci set network.awg1.awg_h1='1234567890-0987654321' uci set network.awg1.awg_h2='1234567890-0987654321' uci set network.awg1.awg_h3='1234567890-0987654321' uci set network.awg1.awg_h4='1234567890-0987654321' uci commit network /etc/init.d/network restart ```
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#843
No description provided.