1
23.1 Legacy Series / Re: Wireguard
« on: March 15, 2023, 03:58:18 pm »Just a quick semi off-topic question here.
Before update to 23.1
- WireGuard Go plugin installed (os-wireguard)
- WireGuard kmod package installed manually from cli
Are we supposed to uninstall the kmod package before applying the update to 23.1?
Or will the update replace/remove the WireGuard Go plugin and update the kmod package?
Correct me if I'm wrong, but doesn't the OPNsense plugin system "track" / ignore manually installed packages? Maybe that was TrueNAS CORE?
I'm already on 23.1, but previously installed the wireguard-kmod package via pkg install.
Before following my tests blindly, please create a backup!
I just tested uninstalling the plugin. When doing so, the following packages were uninstalled:
- bash
- os-wireguard
- wireguard-tools
I then had to manually cleanup wireguard-kmod via pkg remove. Re-installing the os-wireguard plugin now adds the following packages:
- bash
- os-wireguard
- wireguard-tools
- -> wireguard-kmod <-
Uninstalling the os-wireguard plugin again now properly cleans up the wireguard-kmod package.
My conclusion is that it's cleaner to uninstall the os-wireguard plugin and wireguard-kmod package first, and then re-install the plugin.
My WireGuard config was untouched by this (please create a backup).