1
Virtual private networks / Add/remove/edit WireGuard peers without restarting wireguard
« on: November 06, 2023, 09:37:13 am »
Current WireGuard integration kills all existing connection states on WireGuard network(s) as soon as “apply” is clicked in web GUI, for example when adding or removing a peer from an existing network. This is quite disruptive.
WireGuard is capable of applying a new configuration on a running configuration via the syncconf command, see
https://man.freebsd.org/cgi/man.cgi?query=wg-quick&apropos=0&sektion=0&manpath=FreeBSD+12.2-RELEASE+and+Ports&arch=default&format=html
https://serverfault.com/questions/1101002/wireguard-client-addition-without-restart
WireGuard is capable of applying a new configuration on a running configuration via the syncconf command, see
https://man.freebsd.org/cgi/man.cgi?query=wg-quick&apropos=0&sektion=0&manpath=FreeBSD+12.2-RELEASE+and+Ports&arch=default&format=html
https://serverfault.com/questions/1101002/wireguard-client-addition-without-restart