Switch to in-kernel WireGuard on Fedora

May 20, 2020
fedora wireguard

In last December (2019), wireguard was finally merged in the kernel 5.6.x branch. Now 5.6 is live on Fedora 32 and it is finally time to ditch the DKMS module and COPR repository to switch to the in-kernel implementation.

dnf remove wireguard-dkms
rm /etc/yum.repos.d/_copr_jdoss-wireguard.repo
dnf update --refresh

dnf distro-sync wireguard-tools # if it was installed
dnf install wireguard-tools # otherwise

Largely inspired by Chris Siebenmann’s post. Go read his blog!