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
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
===== install wireguard =====
===== install wireguard =====
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
echo 'deb http://deb.debian.org/debian buster-backports main contrib non-free' > /etc/apt/sources.list.d/buster-backports.list
apt update
apt install wireguard
apt install wireguard
</syntaxhighlight>
</syntaxhighlight>
Zeile 23: Zeile 25:
<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>



Aktuelle Version vom 24. April 2021, 11:27 Uhr

install wireguard
echo 'deb http://deb.debian.org/debian buster-backports main contrib non-free' > /etc/apt/sources.list.d/buster-backports.list
apt update
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