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://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 (https://serverfault.com/questions/1101002/wireguard-client-addition-without-restart)
https://github.com/opnsense/plugins/pull/3358 it's being discussed
Cheers,
Franco
Thanks! I'll follow GitHub thread, then.
It should be fixed in 23.7.8.
Cheers,
Franco