Server Installation/Wireguard: Unterschied zwischen den Versionen
Erscheinungsbild
Inhalt gelöscht Inhalt hinzugefügt
Keine Bearbeitungszusammenfassung |
|||
| Zeile 13: | Zeile 13: | ||
=== Betrieb (Debian) === |
=== Betrieb (Debian) === |
||
Wireguard Interface: |
|||
wg-quick up wg0 |
wg-quick up wg0 |
||
| Zeile 18: | Zeile 20: | ||
wg showconf wg0 |
wg showconf wg0 |
||
wg-quick down wg0 |
wg-quick down wg0 |
||
Wireguard Clients: |
|||
wg set wg0 peer <new_client_public_key> allowed-ips <new_client_vpn_IP>/32 |
|||
Version vom 14. Januar 2019, 15:25 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 wg-quick down wg0
Wireguard Clients:
wg set wg0 peer <new_client_public_key> allowed-ips <new_client_vpn_IP>/32