Installation de Wireguard sous Debian 9

apt-get install build-essential
apt-get install git
apt-get install libmnl-dev
apt-get install libelf-dev
apt-get install bc

apt-get install linux-headers-$(uname -r)

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

apt-get update
apt-get install wireguard