Im trying to install Wireguard on Proxmox host node but appears this error:
Jun 02 16:19:04 XXXXXX systemd[1]: Starting WireGuard via wg-quick(8) for wg0...
Jun 02 16:19:04 XXXXXX wg-quick[1367]: [#] ip link add wg0 type wireguard
Jun 02 16:19:04 XXXXXX wg-quick[1367]: Error: Unknown device type.
Jun 02 16:19:04 XXXXXX wg-quick[1367]: Unable to access interface: Protocol not supported
Jun 02 16:19:04 XXXXXX wg-quick[1367]: [#] ip link delete dev wg0
Jun 02 16:19:04 XXXXXXwg-quick[1367]: Cannot find device "wg0"
I install this with:
echo 'deb http://ftp.debian.org/debian buster-backports main contrib' >> /etc/apt/sources.list.d/buster-backports.list
apt update
apt install pve-headers
apt install wireguard-dkms
reboot
Jun 02 16:19:04 XXXXXX systemd[1]: Starting WireGuard via wg-quick(8) for wg0...
Jun 02 16:19:04 XXXXXX wg-quick[1367]: [#] ip link add wg0 type wireguard
Jun 02 16:19:04 XXXXXX wg-quick[1367]: Error: Unknown device type.
Jun 02 16:19:04 XXXXXX wg-quick[1367]: Unable to access interface: Protocol not supported
Jun 02 16:19:04 XXXXXX wg-quick[1367]: [#] ip link delete dev wg0
Jun 02 16:19:04 XXXXXXwg-quick[1367]: Cannot find device "wg0"
I install this with:
echo 'deb http://ftp.debian.org/debian buster-backports main contrib' >> /etc/apt/sources.list.d/buster-backports.list
apt update
apt install pve-headers
apt install wireguard-dkms
reboot