OPNsense Forum

English Forums => Virtual private networks => Topic started by: Mondmann on November 14, 2021, 12:11:45 am

Title: WireGuard interfaces bent after update 21.7.5.1-2
Post by: Mondmann on November 14, 2021, 12:11:45 am
Hello guys,
since the update 21.7.5 u. 21.7.5.1-2 the interfaces and also from WireGuard were bent. A change is unfortunately not possible.
It affects 1x OPNsense with kmod and 1x OPNsense without kmod both ix, igb and em.
Reboot, remove kmod, new reinstall kmod or WireGuard
did not help either. Reconfig WG or old Config Backup also brought no change.
There are always Physiche interfaces automatically entered as on the photo.
WG1_S2S to recognize.

Does anyone have a solution or can put us on the right track

Greetings from Germany


Greetings from Germany
Title: Re: WireGuard interfaces bent after update 21.7.5.1-2
Post by: franco on November 14, 2021, 09:10:56 am
re0 is the first one in your list. The setting would still be correct in the config.xml unless you save it. I suspect the wireguard interface (wg1?) isn't being created by the wireguard plugin for one reason or another.


Cheers,
Franco
Title: Re: WireGuard interfaces bent after update 21.7.5.1-2
Post by: patchman on November 14, 2021, 10:50:15 am
Try this from shell (console/ssh):

ifconfig wg0 destroy

Then start the service from the Web UI.
Title: Re: WireGuard interfaces bent after update 21.7.5.1-2
Post by: Mondmann on November 14, 2021, 05:14:59 pm
@franco
@patchman

Photo as attachment (PPPoe offline) another OPNsense same problem. without kmod!
That this experimental is no question.
With this one ix0 (LAN) was assigned to WG1... unfortunately on the photo not to see...

after: ifconfig wg0 destroy the wg0 is created correctly as configured.
*the wg1 interface is not created*.

but with both OPNsense (different hardware) unbound is often shut down and occasionally comes
- occasionally- comes back online after a reboot.
Alternatively Dnsmasq is running now which survives a reboot.

Note: both OPNsense FW were reset with the release of 21.7 and the running Config played back so far clean ...

If WireGuard is completely uninstalled, both FW systems work stable without any disturbances...

Since we are not dependent on WireGuard at the moment and all services are also running on OpenVPN no leg break and can of course wait for FreeBSD 13...

@all
Based on the views > 82 we are probably not the only ones with this problem?
Maybe the other readers could also leave a short info. THANKS

Greetings from Germany
Title: Re: WireGuard interfaces bent after update 21.7.5.1-2
Post by: mater on December 11, 2021, 02:19:36 pm
I have the same issue on OPNsense 21.7.6-amd64

It is not possible anymore to use 2 Wireguard interfaces at the same time.
The first of them gets changed from wg0 to re0, when I start the secound one (wg1)
Title: Re: WireGuard interfaces bent after update 21.7.5.1-2
Post by: Greelan on December 11, 2021, 08:41:11 pm
No problem running two tunnels here (on 21.7.6)
Title: Re: WireGuard interfaces bent after update 21.7.5.1-2
Post by: mater on December 12, 2021, 01:46:49 pm
I created a complete new VM with 21.7.6 and now its working again.

It is possible thet the update from older opnsense versions is broken?