Migration of WireGuard configuration from wireguard-kmod to wireguard-go

Started by khs, June 01, 2023, 10:19:47 AM

Previous topic - Next topic
Regarding a transition from wireguard-kmod to wireguard-go, I have a WireGuard configuration that was set up entirely using the WebUI. If I uninstall wireguard-kmod and install wireguard-go, will my existing WireGuard configuration automatically migrate to the new implementation? I'm specifically concerned about the migration of my configuration of existing peers. Any guidance or steps to ensure a smooth migration would be appreciated.

It's the same implementation plugin-wise. 23.1 switches the old os-wireguard to wireguard-kmod use automatically, but if you prefer the wireguard-go implementation you can install os-wireguard-go and os-wireguard/wireguard-kmod is automatically removed.


Cheers,
Franco

Greetings and thank you for the input,

This is the advice I was given from a zenarmor employee:

QuoteYou need to use wireguard-go module. We experienced that if you install wireguard-go without uninstalling the kernel module, it can not be converted as expected. You need to remove wireguard kernel module, then install wireguard-go module.

So if I uninstall kmod first and then install wireguard-go, the config will be transferred automagically ?

There is nothing to transfer. It's the same configuration.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Ok, got it, thank you.

Uninstalling the kernel module before the installation of wireguard-go will not purge the config files, is this correct ?

You don't need to worry about deinstall unless you manually installed wireguard-kmod before. Configs are not an issue. The plugin is the same, only the dependency is different.


Cheers,
Franco