Wireguard on Proxmox

Wireguard on proxmox:
https://securityboulevard.com/2019/04/howto-install-wireguard-in-an-unprivileged-container-proxmox/
https://www.digitalocean.com/community/tutorials/how-to-create-a-point-to-point-vpn-with-wireguard-on-ubuntu-16-04
https://wiki.archlinux.org/index.php/WireGuard

Add Wireguard debian unstable source

echo "deb http://deb.debian.org/debian/ unstable main" > /etc/apt/sources.list.d/unstable-wireguard.list
printf 'Package: *\nPin: release a=unstable\nPin-Priority: 90\n' > /etc/apt/preferences.d/limit-unstable

Update, install wireguard and kernel headers

apt update
apt install wireguard pve-headers

Run DKMS autoinstall, probe kernel module, and add to conf file

dkms autoinstall
modprobe wireguard
echo "wireguard" >> /etc/modules-load.d/modules.conf

 

Leave a Reply

Your email address will not be published. Required fields are marked *