[GH-ISSUE #2752] Client cannot connect to server if IPv6-address of client is provided but AllowedIPs does not contains ::/0 mask #1253

Open
opened 2026-10-13 20:38:58 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @n1kutochkin on GitHub (Jun 18, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2752

Describe the bug
Client cannot connect to server if IPv6-address of client is provided but AllowedIPs does not contains ::/0 mask

To Reproduce
Steps to reproduce the behavior:

  1. Add AmneziaWG configuration file to client
  2. Try to connect to server

Expected behavior
An error message that AllowedIPs section does not contains a mask for IPv6 packets

Log files
AmneziaVPN-service.log

Desktop:

  • OS: [macOS 15.3]
  • Version [4.8.18.0+]

Server:

  • OS: [Ubuntu 26.04]

Additional context
Configuration file example

[Interface]
PrivateKey =
Address = 10.8.0.3/32, fdcc:ad94:bacf:61a4::cafe:3/128
MTU = 1420
DNS = 1.1.1.1, 8.8.8.8
Jc = 7
Jmin = 10
Jmax = 80
S1 = 128
S2 = 56
H1 = 1352633146
H2 = 254157682
H3 = 302147231
H4 = 1184609209

[Peer]
PublicKey =
PresharedKey =
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 0
Endpoint = 91.186.99.127:51820

Originally created by @n1kutochkin on GitHub (Jun 18, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2752 **Describe the bug** Client cannot connect to server if IPv6-address of client is provided but AllowedIPs does not contains ::/0 mask **To Reproduce** Steps to reproduce the behavior: 1. Add AmneziaWG configuration file to client 2. Try to connect to server **Expected behavior** An error message that AllowedIPs section does not contains a mask for IPv6 packets **Log files** [AmneziaVPN-service.log](https://github.com/user-attachments/files/29101970/AmneziaVPN-service.log) **Desktop:** - OS: [macOS 15.3] - Version [4.8.18.0+] **Server:** - OS: [Ubuntu 26.04] **Additional context** Configuration file example [Interface] PrivateKey = Address = 10.8.0.3/32, fdcc:ad94:bacf:61a4::cafe:3/128 MTU = 1420 DNS = 1.1.1.1, 8.8.8.8 Jc = 7 Jmin = 10 Jmax = 80 S1 = 128 S2 = 56 H1 = 1352633146 H2 = 254157682 H3 = 302147231 H4 = 1184609209 [Peer] PublicKey = PresharedKey = AllowedIPs = 0.0.0.0/0 PersistentKeepalive = 0 Endpoint = 91.186.99.127:51820
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#1253
No description provided.