Hallo,
I have updated a opnsense with wireguard-go (think it was wireguard beta) to the actual version 22.1.3. Updates run without problems, but now, the wireguard service can not start anymore.
If I login with ssh and try to start the service the result is:
# service wireguard start
wg-quick: `wg0' already exists
if I try to restart:
# service wireguard restart
wg-quick: `wg0' is not a WireGuard interface
wg-quick: `wg0' already exists
wireguard_enable is set to YES in /etc/rc.conf
Any idea, how to debug (or solve) the problem?
Many thanks
Willi
I found a fix here https://blog.veloc1ty.de/2022/03/07/opnsense-wireguard-wg0-is-not-a-WireGuard-interface/
The tldr is run "ifconfig wg0 destroy" and then "/usr/local/etc/rc.d/wireguard restart"