Server Installation/Wireguard: Unterschied zwischen den Versionen
Erscheinungsbild
Inhalt gelöscht Inhalt hinzugefügt
| Zeile 19: | Zeile 19: | ||
wg show wg0 |
wg show wg0 |
||
wg showconf wg0 |
wg showconf wg0 |
||
systemctl status wg-quick@wg0.service |
|||
wg-quick down wg0 |
wg-quick down wg0 |
||
Version vom 14. Januar 2019, 15:29 Uhr
Software für VPN Verbindungen (Virtual Private Network) - https://www.wireguard.com
Installation (Debian)
Manuell:
echo "deb http://deb.debian.org/debian/ unstable main" > /etc/apt/sources.list.d/unstable.list printf 'Package: *\nPin: release a=unstable\nPin-Priority: 90\n' > /etc/apt/preferences.d/limit-unstable apt update apt install wireguard
Wird bei Opennet automatisiert über die Opennet ansible Rolle 'wireguard-server' installiert.
Betrieb (Debian)
Wireguard Interface:
wg-quick up wg0 wg show wg0 wg showconf wg0 systemctl status wg-quick@wg0.service wg-quick down wg0
Wireguard Clients:
wg set wg0 peer <new_client_public_key> allowed-ips <new_client_vpn_IP>/32