[WireGuard] wg set - unexpected change of routes

Ivan Labáth labawi-wg at matrix-dream.net
Tue Aug 30 08:44:54 CEST 2016


I have noticed that adding a route (allowedips) to a peer
automatically removes any such route from other peers,
as has been explained in some email.

It seems to me as unexpected behaviour, as I wouldn't expect
the configuration of a peer to be (silently) affected when
changing the configuration of another peer.

I think repeating subnets in different peers is most probably
an error and in such circumstances the most useful action would
be to fail and report it as such.

Result of an attempt at something similar:

linux ~ # ip route add via
linux ~ # ip route add via
RTNETLINK answers: File exists

Ivan Labáth

More information about the WireGuard mailing list