Menü umschalten
Persönliches Menü umschalten
Nicht angemeldet
Your IP address will be publicly visible if you make any edits.

Wireguard: Unterschied zwischen den Versionen

Aus Hennings Wiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 23: Zeile 23:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
wg show
wg show
</syntaxhighlight>
===== errors =====
<syntaxhighlight lang="bash">
/usr/bin/wg-quick: line 32: resolvconf: command not found
ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf
</syntaxhighlight>
</syntaxhighlight>



Version vom 24. April 2021, 09:57 Uhr

install wireguard
apt install wireguard
vim /etc/wireguard/wg0.conf
systemctl enable wg-quick@wg0
systemctl start wg-quick@wg0


test wireguard
modprobe wireguard
echo "wireguard" >> /etc/modules-load.d/modules.conf
dpkg-reconfigure wireguard-dkms
wg show
errors
/usr/bin/wg-quick: line 32: resolvconf: command not found
ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf
generate QR Code
apt install qrencode
qrencode -t ansiutf8 < device.conf