can not start wireguard service after update

Started by willide, March 22, 2022, 06:21:38 PM

Previous topic - Next topic
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

May 02, 2022, 10:28:44 AM #1 Last Edit: May 02, 2022, 10:33:42 AM by Plaidy
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"