h44z / wg-portal

WireGuard Configuration Portal with LDAP connection
https://wgportal.org/
MIT License
880 stars 121 forks source link

[v2] Keypairs/PublicKey can not be changed #265

Open muellpanda opened 1 month ago

muellpanda commented 1 month ago

When changing keys of a client, the Peer is not updated correctly and is unreachable.

Example:

h44z commented 1 day ago

have you tried to disable and re-enable the peer?

muellpanda commented 18 hours ago

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.