Created
November 16, 2018 14:10
-
-
Save Darkflib/a264275f3858b569cfeb3937ced353a7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| 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 | |
| mkdir -p /etc/wireguard | |
| wg genkey | tee /etc/wireguard/test-private.key | wg pubkey > /etc/wireguard/test-public.key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment