-
-
Save andramalech/68c2cab1211ae4f85377b7447b0f5d7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HOST | |
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 | |
apt update | |
apt install wireguard pve-headers | |
echo "wireguard" >> /etc/modules-load.d/modules.conf | |
# Container | |
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 | |
apt update | |
apt-get install --no-install-recommends wireguard-tools | |
# Container (Ubuntu) | |
sudo add-apt-repository ppa:wireguard/wireguard | |
sudo apt update | |
sudo apt-get install --no-install-recommends wireguard-tools |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment