Open muellpanda opened 6 months ago
have you tried to disable and re-enable the peer?
I have tried to disable the peer, but it just keeps connected. It is removed correctly from the config, but wireguard itself does not get notified of the change. The peer is still listed with wg show
. Restarting wg-portal (docker container) has no effect.
I guess #273 is highly related.
I have tested this and confirm the issue. Also editing the sqlite.db to make the peer identifier match doesnt seem to allow it to work either.
When changing keys of a client, the Peer is not updated correctly and is unreachable.
Example:
wg genkey
PublicKey
is updated correctly, butPeer
is not, it holds the value of the oldPublicKey
(the one generated bywg-portal
):wg show
also shows the old PublicKey, so the Peer is not reachable at all with the exchanged keypair