Wireguard: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
Zeile 27: Zeile 27:
 
*https://www.thomas-krenn.com/de/wiki/Ubuntu_18.04_als_WireGuard_VPN_Client_konfigurieren
 
*https://www.thomas-krenn.com/de/wiki/Ubuntu_18.04_als_WireGuard_VPN_Client_konfigurieren
 
*https://wiki.ubuntuusers.de/WireGuard/
 
*https://wiki.ubuntuusers.de/WireGuard/
 +
*https://sarwiki.informatik.hu-berlin.de/WireGuard

Version vom 19. Dezember 2019, 10:07 Uhr

Two Nodes

schnubel
gustavo

Installation

  • sudo add-apt-repository ppa:wireguard/wireguard
  • sudo apt install wireguard

Create Keys

schnubbel
  • cd /etc/wireguard
  • wg genkey > private.key
  • wg pubkey > public-schnubbel.key < private.key
  • wg genpsk > psk.key
  • scp psk.key public-schnubbel.key gustavo:$PWD/
gustavo
  • cd /etc/wireguard
  • wg genkey > private.key
  • wg pubkey > public-gustavo.key < private.key
  • scp public-gustavo.key schnubbel:$PWD/

Configuration

Links