zypper in wireguard-tools
Did a Debian OBS build: https://build.opensuse.org/request/show/712261
Followed https://www.wireguard.com/quickstart/ and man wg-quick
to get something working.
https://wiki.archlinux.org/index.php/WireGuard is also useful.
cd /etc/wireguard
umask 077
wg genkey | tee privatekey | wg pubkey > publickey
wg genpsk > secretpsk
cat > wg0.conf <<EOF
[Interface]
ListenPort = 51820
Address = 10.8.6.1/24
PrivateKey = $(cat privatekey)
[Peer]
PublicKey = XXXOTHERNODEPUBKEY
PresharedKey = $(cat secretpsk)
AllowedIPs = 10.8.6.0/24
Endpoint = vpn.example.com:51820
EOF
systemctl enable --now wg-quick@wg0.service
Looking for hackers with the skills:
Nothing? Add some keywords!
This project is part of:
Hack Week 18
Activity
Comments
-
about 5 years ago by bmwiedemann | Reply
https://github.com/burghardt/easy-wg-quick/blob/master/easy-wg-quick also gave good hints
Similar Projects
This project is one of its kind!