Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| (4 dazwischenliegende Versionen desselben Benutzers werden 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 11: | Zeile 13: | ||
systemctl enable wg-quick@wg0 | systemctl enable wg-quick@wg0 | ||
systemctl start wg-quick@wg0 | systemctl start wg-quick@wg0 | ||
</syntaxhighlight> | |||
===== test wireguard ===== | |||
<syntaxhighlight lang="bash"> | |||
modprobe wireguard | |||
echo "wireguard" >> /etc/modules-load.d/modules.conf | |||
dpkg-reconfigure wireguard-dkms | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="bash"> | |||
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