WGDashboard icon indicating copy to clipboard operation
WGDashboard copied to clipboard

Clients can only have a /32 IP

Open mar-maradnus opened this issue 2 years ago • 2 comments

I tried to change the IP subnet of my clients to a /24, so that they can all be reachable from each other. The dashboard accepts only a /32. The error provided is "Warning: AllowedIP has nonzero host part: xxx.xxx.xxx.xxx/24"

mar-maradnus avatar Oct 02 '22 06:10 mar-maradnus

Allowed IPs which is the interface ip should be /32, that is the ip address the other clients will use to reach you. The Endpoint allowed IPs is the one that can be /24 so any other device in the same range can see you.

kryztoval avatar Oct 03 '22 22:10 kryztoval

Distinction between a network notation and endpoint notation. /32 is a single IP-address, e.g. a single machine, /24 is 256 addresses, e.g. a network.

DaanSelen avatar Aug 21 '24 06:08 DaanSelen