OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: JDtheHutt on March 29, 2019, 11:09:40 pm

Title: Wireguard - Kernel panic
Post by: JDtheHutt on March 29, 2019, 11:09:40 pm
I've been experiencing random kernel panics for a while that require a hard reboot of the system. I thought it was due to the update fault in 19.1 which has now been resolved. Then I discovered my SSD was dying and I thought it may be just related to that.

However, the 19.1 issue has been fixed and I am now running 19.1.4, and I have also replaced my SSD. After much testing, I have found that the system seems to panic and die after I have remotely connected via Wireguard from my phone to OPNsense and then disconnected. I do.not see the same issue if I switch to OpenVPN.

Checking online, it seems others have reported the same fault and that it is an error in the underlying 11.2 FreeBSD Wireguard implementation. Is this correct and the likely cause of my issues? If so I will have to switch back to OpenVPN for now. Wireguard has been superb in terms of connectivity, reduced battery consumption and ease of use, but I can't have it killing my system like this. Any confirmation or advice would be appreciated.
Title: Re: Wireguard - Kernel panic
Post by: mimugmail on March 30, 2019, 06:33:04 am
Yes, it's the reason why this plugin is not released as stable.
Title: Re: Wireguard - Kernel panic
Post by: JDtheHutt on March 30, 2019, 03:48:50 pm
Thank you, mimugmail. I'll switch back to OpenVPN for now then but will keep an eye on WG and happy to test when needed.