Skip to content

[BUG][Linux] - Handshake failure #126

Closed

Description

@Trider12

Describe the bug
I have AmneziaWG running on a remote server and I've been using it via the WG Tunnel Android app for a very long time. Now I've installed the WG Tunnel app on my Linux machine, but the handshake fails. The same config file that works on Android doesn't work on Linux. Both devices are connected to the same router on the same network.

Platform:

  • OS: Linux Mint 22.3
  • Desktop Environment: Cinnamon
  • Display Protocol: X11
  • App Version: 2.4.1

To Reproduce
Steps to reproduce the behavior:

  1. Add a new config.
  2. Enable it.
  3. See the handshake fail.

Expected behavior
Connection success.

Additional context
The config looks as follows:

[Interface]
PrivateKey = *
#_PublicKey = *
Address = *
DNS = 8.8.8.8
Jc = 4
Jmin = 40
Jmax = 70
S1 = 0
S2 = 0
H1 = 1
H2 = 2
H3 = 3
H4 = 4
I1 = <b 0x...>

[Peer]
AllowedIPs = 0.0.0.0/5, 8.0.0.0/7, 11.0.0.0/8, 12.0.0.0/6, 16.0.0.0/4, 32.0.0.0/3, 64.0.0.0/2, 128.0.0.0/3, 160.0.0.0/5, 168.0.0.0/6, 172.0.0.0/12, 172.32.0.0/11, 172.64.0.0/10, 172.128.0.0/9, 173.0.0.0/8, 174.0.0.0/7, 176.0.0.0/4, 192.0.0.0/9, 192.128.0.0/11, 192.160.0.0/13, 192.169.0.0/16, 192.170.0.0/15, 192.172.0.0/14, 192.176.0.0/12, 192.192.0.0/10, 193.0.0.0/8, 194.0.0.0/7, 196.0.0.0/6, 200.0.0.0/5, 208.0.0.0/4, 8.8.8.8/32
Endpoint = *
PersistentKeepalive = 60
PublicKey = *

Activity

  1. added
    bug
    on Nov 17, 2026
  2. added a commit that references this issue on Nov 20, 2026
  3. added a commit that references this issue on Nov 25, 2026
    7ab3951
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions