Skip to content

Instantly share code, notes, and snippets.

@castironclay
Created November 9, 2019 18:56
Show Gist options
  • Save castironclay/107fbbe81f709042fd117a63ab1553f7 to your computer and use it in GitHub Desktop.
Save castironclay/107fbbe81f709042fd117a63ab1553f7 to your computer and use it in GitHub Desktop.
Install Wireguard on Debian Buster
#!/bin/bash
echo "deb http://deb.debian.org/debian/ unstable main" | sudo tee --append /etc/apt/sources.list.d/unstable.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC
printf 'Package: *\nPin: release a=unstable\nPin-Priority: 150\n' | sudo tee --append /etc/apt/preferences.d/limit-unstable
sudo apt update
sudo apt install wireguard -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment