diff options
author | Christian Breunig <christian@breunig.cc> | 2023-11-02 20:37:57 +0100 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-11-03 17:01:27 +0000 |
commit | ecdb142f3c60bd30601289a0397104eb6afd3a55 (patch) | |
tree | 0a219712b8a5f179433584109de6280e5e1c1d8e /LICENSE.GPL | |
parent | a327526240c9d9f42930e9a1ce871e9fa8036258 (diff) | |
download | vyos-1x-ecdb142f3c60bd30601289a0397104eb6afd3a55.tar.gz vyos-1x-ecdb142f3c60bd30601289a0397104eb6afd3a55.zip |
wireguard: T5707: remove previously deconfigured peer
Changing the public key of a peer (updating the key material) left the old
WireGuard peer in place, as the key removal command used the new key.
WireGuard only supports peer removal based on the configured public-key, by
deleting the entire interface this is the shortcut instead of parsing out all
peers and removing them one by one.
Peer reconfiguration will always come with a short downtime while the WireGuard
interface is recreated.
(cherry picked from commit 2fc8738bc9c2fb6364a22d86079e8635cee91949)
Diffstat (limited to 'LICENSE.GPL')
0 files changed, 0 insertions, 0 deletions