User Tools

Site Tools


wireguard

This is an old revision of the document!


Wireguard

Install Wireguard on Debian 9.x and Raspbian 10.x

# echo "deb http://deb.debian.org/debian/ unstable main" > /etc/apt/sources.list.d/unstable.list
# echo -e "Package: *\nPin: release a=unstable\nPin-Priority: 150\n" > /etc/apt/preferences.d/limit-unstable
# apt-get update && apt-get install wireguard-dkms wireguard-tools
# modprobe wireguard && lsmod | grep wireguard

Create Key Pairs

Host A

# wg genkey > privateA
# wg pubkey < privateA > publicA

Host B

# wg genkey > privateB
# wg pubkey < privateB > publicB
wireguard.1614062029.txt.gz · Last modified: 2021/02/23 07:33 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki