zypper ar https://download.opensuse.org/repositories/network:/vpn:/wireguard/openSUSE_Leap_15.0/ wireguard
zypper in wireguard-tools wireguard-kmp-default

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
ListenPort = 51820
Address =
PrivateKey = $(cat privatekey)
PresharedKey = $(cat secretpsk)
AllowedIPs =
Endpoint = vpn.example.com:51820
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


  • over 2 years ago: teclator liked this project.
  • almost 3 years ago: bmwiedemann started this project.
  • almost 3 years ago: bmwiedemann originated this project.

  • Comments

    • bmwiedemann
      almost 3 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!