OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: yeraycito on April 22, 2023, 04:09:54 PM

Title: Wireguard in FreeBSD 13.2
Post by: yeraycito on April 22, 2023, 04:09:54 PM
Netgate ( Pfsense ) has re-integrated the Wireguard driver into the FreeBSD 13.2 kernel and hopefully it will work better than last time. Just out of curiosity but I would like to ask franco how this is going to be implemented in Opnsense. Are the current wireguard plugins going to be kept or is the integration going to be done differently?
Title: Re: Wireguard in FreeBSD 13.2
Post by: Patrick M. Hausen on April 22, 2023, 04:46:59 PM
The kernel driver already is an official part of FreeBSD 13.2, now. So there's not much to integrate.

https://www.freebsd.org/releases/13.2R/relnotes/
Title: Re: Wireguard in FreeBSD 13.2
Post by: mimugmail on April 22, 2023, 05:25:25 PM
Is there a real difference between Kernel and kmod?
Title: Re: Wireguard in FreeBSD 13.2
Post by: Patrick M. Hausen on April 22, 2023, 05:27:08 PM
No. The kmod is just officially in the kernel source tree now whereas formerly it was a separate port. Most drivers are modules instead of being statically compiled in.
Title: Re: Wireguard in FreeBSD 13.2
Post by: yeraycito on April 22, 2023, 06:08:51 PM
Quote from: pmhausen on April 22, 2023, 04:46:59 PM
The kernel driver already is an official part of FreeBSD 13.2, now. So there's not much to integrate.

https://www.freebsd.org/releases/13.2R/relnotes/

That is precisely what I have explained. With the Opnsense integration I meant will the Wireguard plugins be needed in the future or because the Wireguard driver will already be integrated in the FreeBSD Kernel they won't be needed anymore.
Title: Re: Wireguard in FreeBSD 13.2
Post by: Patrick M. Hausen on April 22, 2023, 06:19:14 PM
Sorry, I overlooked your attachment. As it stands the plugin is necessary for the UI parts. If these will become part of OPNsense core, I cannot tell.