- Registriert
- 30. Dezember 2011
- Beiträge
- 16.511
- Lösungen
- 11
- Reaktionspunkte
- 18.260
- Punkte
- 3.740
- Ort
- Im wilden Süden
wget -O - -q https://neutrinobox.de/wireguard.sh | sudo bash
[Peer]
PublicKey = ******
PresharedKey = *****
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = das.ist.meine.dyndns:35646
PersistentKeepalive = 25
wget -O - -q https://neutrinobox.de/wireguard.sh | sudo bash
Idealerweise ist auf dem Pi auch Wireguard installiert und in der /etc/wireguard/wg0.conf des Pi steht eine der 5 fertigen Client Configs.Beispiel wäre es ein Pi Zuhause .
# 4: client4 > wgclient_client4.conf
[Peer]
PublicKey = CTNX***********************************4hA=
PresharedKey = QEiP*******************************MNo=
AllowedIPs = 10.208.205.18/32
# 4: client4 > wgclient_client4.conf
[Peer]
PublicKey = CTN*************************************4hA=
PresharedKey = QEi*************************************LMNo=
AllowedIPs = 10.208.205.18/32, 192.168.1.0/24
$ apt-get update
$ apt-get upgrade
$ apt-get install raspberrypi-kernel-headers
$ echo "deb http://deb.debian.org/debian/ unstable main" | tee --append /etc/apt/sources.list.d/unstable.list
$ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC
$ printf 'Package: *\nPin: release a=unstable\nPin-Priority: 150\n' | tee --append /etc/apt/preferences.d/limit-unstable
$ apt-get update
$ apt-get install wireguard
$ reboot
Das hat mir an Anweisung gefehlt.überschreibst die /etc/wireguard/wg0.conf am Pi
Ja klar. die client configs sind alle in /etc/wireguard und wenn du eine davon als QR Code angezeigt haben willst gibst du das ein. Bsp wgclient_firetvoma.confkönnen die QR-codes nochmals angezeigt werden?
root@localhost:/etc/wireguard# ls | grep .conf
wg0.conf
wgclient_AndroidS9.conf
wgclient_client4.conf
wgclient_firetvoma.conf
wgclient_iphone.conf
wgclient_jonathan.conf
wgclient_josefa.conf
wgclient_thinclient.conf
wgclient_windows.conf
wghub.conf
root@localhost:/etc/wireguard# qrencode -t ansiutf8 < "wgclient_firetvoma.conf"
████
████▀ ▀▄▄ ▄▄ █▄█ ▄▀ ▄▄▄ ▄▄ ▄▄▄▄▀▀▀█▀ █ ▄▀██▄▀▀█▄▄▄ ▄ ▀ █▀█ ▄▄▄ █▀▄ █▄▄█ ▄ ▄ ▄ █▄█▀█▄█▀█ █▄██▄▄▄█ ▄ ▄▀█ ▀█▀▄▄▄ ▄ ██▀█▀ ▄▄▄ ▄ ▄▄▀█▄▀██▄ ▀▀▄ ▀ ██▄ ▄▄ ▄▄▄█▀ █████
████ █▀██ ▄██▀▄▄▀ ▀▄▀ █ ▄ ██▄▀▀▀▄ ▀ █▄█▄ ▀█ ▀▄█▄ █▄█ ▄▀▄ ▀▀▀▄▀▄█▄▀█▄█▄█▀ ▀▄ ▀ ▀█▄█ ▀▀▄█▄▀ ▀▄█▄▀█▀▄ ▄ ▄▀▄▀▄ ▀▀▀▄ ▄▀ ▀▄▄▄ ▀ █ ▀▀ ▀▀▀▀█ ▄▄█████▀▀▀ ▀ ▀▀▀ ▄ █ █████
████▄▄█▀█▄▄▀▄ █▄▄▄██▀█ ▄▄▄▄ ▀▄█▄█▀▀██ █ █▄ ▀█ █▀▄▄ ▄▄█▀▀▄█▄▄ █ ▀█▀▀▀▄ █▄ █ ▄▀▀▀▄ ▀▀▀▀██▄█▄█▄▀▀▄█▄▀ █ ▀▄▄█ █▄▀█ █▄█ ▀▀ █▄▀ █▄▄▄▄▀ █ ▀█ ▀▄▄█ ████ █▀ ▄▀▄▀▄ █ ▄ ▄████
█████▀▀▀▀▄▄▄█ █▀▀▀▀▄█▀▀▄█▀ █ █ ▀▀▀▄█▀▄ ██ █▀█▀▀█ ███ █▄▄██▀▀▀▀▀▄██▄▀██▀▀▀▀▀▄ ▀▄▀██▀ ▀█ ██▀████ ▀ ▀█▀ ▄▄█ ▀▀ ▀ ▄▄██▀█▀██▄ ▀▄▀▄▄▀▄ █▄█▄██ ▀ ▀█▄ ▀▄▀█ ▄ ▀██ █▀ ▀▀▀ █████
████▄ ▄▄▄█▄█▄▀▀███ ▀ █▀ ███▄▀█ ▄▀▄▀▄█▀ ▄▄ ▄██ ▀▄ █ ▀███▀ ▀▀█▀▄▄ ▀▄▀ ▄ ▀█ ▄ ▀█▄▀▄▀▄█▄█ ▀ ██▀▀█ ▄ ▀███ ▄██▄ █ ▄█ █ █▄██▀█▀▀▀▀██▄ █▀▄█ ▄█▄▄█▀ ██ █▀ █▄██▀ ▄█ ▀████
█████▀▀█▀ ▄▀▄ ██ ██ ▀▀▀▄▄▄▄ ▄ ▄█ █▄█▄▄ ▄█▀ ▀ ▀▄█▀ █▄██▀█ ▀▀▄ ▀▀▄ ▀█ ▀▀▀▄▀█▀▄▀█ ▄██▀ ▀██▄ ▀█▄▀▄ ██▀ ▀▄▀▀████ █▄▄▄▀█▀ ▀▄▄█▄ ▄█▀▄██▄▀█ ▀█▄ █▄▀█▄█▄▄ ▀▄█ ▀ ██▄ ▀████
████ ██▀ ▄ ▀▀▀█ ▀▀▀▄ ▄ ▀▄ ▀█▄▀▀▄▀▄▀▀▄▀█▄▄█▀█ ▀█▄▀▄ ▀█▀ ▀▀▄ █▄▀█ ▄ ▀ ██ █ ▀▀█ █▀ ▀▄█▀ ▀█▄▄█ █▀▄▀▀█▀▀█▄▄▀▄ ██▄▀█▄█ ▀▀█ ▄▄▄▀█ ▄▄█▄▄▄▄█▄ ▀ ██ ▄ █▀ ▄▀▄▀▀▄█▀▀▀ ████
████▀▄█▄ ▄█ ▀█▄▀▄█▄▄▀██ ▀▄█▄ ▄█▀█ ▀ ▄▄█ ▀ ▄██▄▀██▀ ▄▀▀▄ ▀▄▄▄▄ ▀█ ▄ ▀ █▄█ ▄██▀█▀█▀▀▀▀▄ ▀ ▀ ▄█▀▀▀ ▄▀█▀▄ ▀ ▀█ ▄ ██ ▀█ █▀▄█▄▄▀▀ ▀ ▄██▄ █ ▀ ▀▄▄█▀▄ ▄▄█ ▀ ▄ ▀▄ ▀▄ █████
█████ █▀▀▄▄▀▄█▄ █▀ ▀█ ▀▀ ▀▄▄▄▀▄▀▄▄▄█ ▄▀ ▀█▄ ▄ ▄█ ▀▀█▄█▀█ █ █▄ █▀ ██▀█ ██▄ ▄ ▀ █▀▀█▄ ▄▄▀▀ ▀█▀█▄▀▄ ▄▀▀▄ █▄ ██ ▄█▄█▄███▀▄█ █▀▀▄▄▄█▀▀▄▀▀ ▄▄ ▄█ █▀▄▀ ▄▀█ ▄▀▀██▄ █▀ ▀▄▀▀ ▄████
████ ▀██▀▄▄▄▄▀█ ▄▄ ▄▄ ▀▀▄▀▄█ █ ▄ ▀ ▄▀▄▄ █ █▀ ▄▄▀ ▄▀██ ▄▄▀▄█▀▀▀▄▀█▀▀▀ █ ▀▄ █▄ ▀█▀▄██▀ ▀▀▀██ ▄▄▄▄▀▀ █▄▀██ ▄█ █▀▄▄█▄ ▄███▄▀█▄▀█▄▄▄██▄▄▄▄ ▄██▀█ █ █▀▀▀█▀ ▀▄▄▀▄▀▀█ ▄████
████ ▄▄▀▀▄▄█ ▄██▄▀▄▀ █▄ ▀██ ██▄ ▀ ▄ ▀█▀██▄▀ ▄▀▄▀▀▀ ▄▄███▀▀ ▀ ▄▄ ██████▀▀█▄▄███▀ ▄▄▄ ▀ ▄▀▀█▄█▄ ▀█▄ █▀▄▄ ▀█ ▄█▀▄▄█▄█ █▀▀█▄▀ ▄▀▄▄▄ ▄ ▀▄ ▀ █ ▄ ▄ ▄ █ ▀ █ ▄█▄█ ▀ ████
████▀▄▀▀ ▄▄▄ ███ ▄▄▄▄▀▄█ █ ▄▄▄ ▄▄ ▄▄▄███▀ █▀▀█▀▄▄▄ ▄▄▄ █▀▀▀▀▄█▄█ ▀▄▄ ▄█▀▄▄▀▀ ▄▄▄ ▄▄█▀▀▀█▄▄█ █▄▀▀▀▄█ ▄▄▄ ███ ▄▄▄▄█▀██▀▄▀██▄▄▄▄ ▄▄▄ ▄▄▄▄ ▄▀▄ ▀██▀ ▀ ██▄ ▄▄▄ ▄█▄ ▄████
████▄▄▀█ █▄█ █ ▀▄█▀▀▄███ █▄█ ▄█▀▄ ▄████▄ █ ██▄▀▀ █▄█ ▀ ▄▄▄█▄█▀█▀ ▀ ▄▄▄████ █▄█ ▄▀▀██ ▀▄██▄▀█ █ ▄▀██ █▄█ ▄█ ▀▄▀███▀█ ▀▄ █▀██ █▄█ █▀██▄██▄ ▄ ▄ ▄█ ██ ▀ █▄█ ▄ █ ▀████
████ ▀▄ ▄▄▄▄▄▀ ▀▄▀ ▄█ ▀▄█ ▄ ▄▀▄ ██▄▄▄▀▀██▀▄▀█▄█▀▄▄ ▄ ▀ ▀█▄█▄█▀█▀▀▀ ▀█▄█ ▄▄ ▄ ▄▄▀ ▄▄▄▄█ ▄▄ ███▄█▀▀█▀▄▄▄ ▀▀█ █▄▀ ▀███ ▄▄▀▀██▄▄▄ ▄▄█▀█▀▄▀▀█▀▄▀▄▀█▀▀▄▀ ▄ █ ▀ ▀████
████ ▀▄▀ ▀▄▀ ▀█▄ ▄▄▀▀ ▀█▀ █ █▄ █ ▀██ ███ ▀ ▀█ ▄▄▄▄ ▀ ▄▀▀ ▀ ▄▄▄▀▄▀▀▄▀██▄▄▄▀ ▄▄▄▀ ▄▀ ▀▄▀▄ ▀▄▄▀▀██▀▀▀█▀██▀▄▀█ ▀▀█ ▄▄▀▄█▀▀▄█▀▄▄▄▄ ▀█▀▀ █ ▀█▄ ▄█▀█ █▄ ▀▀ ▄ █▄ ▄█ ▄▄▄▄▀██ ████
██████ ▀█▄▀█▄▀███ ▀██▀ ▀█▀ ▀█▀ ▀▄▀▄▄▄▄█▀ ▀█▀███▄ ▀█▀ ▄▀ ▄ ██ ▀ ▀▄▄█▀▄▀█ ▄ ▄▀ █▀ ███▄▀ ▄▄ ▀▀ ▀█ ▄▀▄█▄▄▄█ ▀▀ ▀▄██ ▀█ █▄██▄ ▀▄ ▄ ▄█▄███▄▄ ▄▀▀▀ ▄▀▄▀ ▄▀██▄█ █████
████▄██ ▀█▄ ▄▀▄ ██▀█ █ ▄ ▀ ▄██▀▀▄█▀ ▄█▄▀██ █▀ ▀█ ███▄█ ██▄███▀▀█▄▄████▀ ▀█▀▄▀▀█▀ ▀▄ ▄█▄▀ ▄▀▀▄ █ ▄█ ▄▄▀█▀█ ▀▀▀██ ▄ ▀ ▄ ▄██ ▄██ ▀ ▄▄▀█▀▀█▀█▄ ▄▄▀▀▄█▀▄▀ █▀▄▀▀ ▀ █████
████▀ ▀███▄▀██ ▄██ ▀███▀ █ ██ █ ▀▄ █ ▀██▀▄█ ▄ █▄███▄ █ ▀▄▀▀▄▄█▀▀▀▄ ▄█ █ ▀▀▀▄███▀▄▄█ ▀▄██ ▀▄▄▄▄ ▄▄█ ██ ▄▀ ▄▄█▀▀███▀▀ ▀█▄ ███ ▄█ ▀ ▀█▀▀ ▄▀▀██▄█▄███ █ █ █████
████▄█ ▀▄▄▀▄█ ▀ ▀▄██▀ █ ▄▀█ ▀█ ▄▄▄ █▀███ ▄ ▄ ▀█ ▀██ ▄ ▀▄ █▄▀█ ▀▄██ ▀▀█▀ ▄▀ ▄ ▀▀ █▄▄▄ ▀█▀▀▀███▄▄ ▄█ ▀▀█▀█▄▄▀ ▀▀█▄▀▄ █▄█▀ ███▄█████▀▀ ▀▄▀▀ ▄▄ ▄▀▀ █▀ █▀ █ ██▄█▀▄ ████
████▀▄█▄▀█▄█ ▄█▀█▄▀█ ▄▄█▀▄█ ▄ ▀ ▄█▄▀ █▄█ ▄▄█▀▄ █▄ ▄▀ ▄▄▄▄▄█▄▀ ▄█▄▄██ █ █ ▀█ ████▀▄▀▄▀▄ ▀▀ █▀▄▀▄▄▀ ▄ ▄█▄██ ▄▀▀██▀▀ ▄▄█▄█ ▄ █▀ ████▀▀▀█▀█▀▀▀▀▄█ ▄█ █▄ █▄▄▀▀ ████
█████▀ ▄▀▄ ██▄▄▀█▄ ▀█ ▀▀▄ ▀█▀▄▀ ▀ █▄█ ▄▀▄ ▀▄█▀▄▄▀█ █ ██▀█▄▀█▀███ █▄▀ ▄█▄▄█▀█▀▄█▀ ▄██▀▀█▄▄█ █ ▄█▀█▀▀▀▄▀▀ ▀▀▄ ▄▄█ █▄ ▀▀▀████ ██▄ █▄██▄▀█▀▀▄ ▄█▄▄█▄ █▀▀█ █ ▄█▀ ▄████
████▀█▄ █▄▄▀██▄▀█▄ █▄ ███▀▄ ▄████ ██ ▀▄█▀ ▀▀██▀ ▄▄ ▀▀▄ ▀██▄▀▀▄ █▄ █ ▀ ▀ ██▄▄█ ▄ ▀ ███ ▄▄▀▀▄▀█▀▀▄ ▀▀▀ █▀▄▀█ ▀ ▄ ▀██▄ █▄▄▀▄▄█▄ █▄ ▄▄ ▀█ ▄▀█▄▄▄▄▄▄▀ ▀▀█▄▀██▀█ ▄████
████ ▀ █▄█▄▄ █ ▄ ▀▀▄▀▀▄ ██ ▀▀▀ ▀█▀▄▀▀▄█▀▀▀█▄▄▄▀ █▄▀ ▀▀███▀▀▄▀██▀▀▄██▄▀▀ ▀█▄▀▀███▀█▀ ▄▀██ ▄█▄█▄ █▄▀█▀▀ █▀█▀▀ ▀▀▄██▄▄██▄▀▄ ▄██▀▀▄▀▀█▄▀ ▀▀▀██▀▄ ▄▄▀ ▀ ▄█▄▀ ▄ ▄ ▀████
████ ▄█▄██▄ ▀ ▀▄█ █ █▀▄█▄█▄█▄█▀█▀▀▄▄ ██ ▄▀▄█▀██ █▀██▄▀ █▀█▀▀ ▄ ▀▀█▀▀▄▀▀▄██ █▄███ ██▄█▀▀█ ▄▄ ██▄█▀ ▄█ █▄▀▄▀▀▄▀▀▄ ▀███ █ ▄█ █▀▀██ ▄▄▀ ▀██ █▀▀█▄██▄▀▄▄▄ ▀██ ▀▄ ████
██████▄▄▄▄▄▄ ▄ ▄▄▀▄▀ ▀ ▀▀▄ ▄▄▄ ▀█ ██ ▀▄█ █▀▄▄▀▄▄██▄ ▄▄▄ ▄▀▀▄▀▀█▄██▀▀▄▀▀█▄ ▀ ▄▄▄ █▄▀▄▄▀█▄▄▄▀▄▄▀███▄ ▄ ▄▄▄ ▀▀█▀ ▀ ▄█▄▄ █▀▄ ▀▄▄ ▄▄▄ ▄▄▀▄▄▀▀ █▄▄ ▀█▀▄ █▀██ ▄▄▄ ▀▀█ ▀████
████ ▄▄▄▄▄ █▄▄▀ ▄▀▀▀▀▀▀▀▄ █▄█ ▄█▀▀▄▀ ▄█▄ █ █▄ ▄ ▀▀ █▄█ ▄▄▀▀█▀█ ██ ▄▄ █▀▀▀▀▀▀ █▄█ █▀█ ▄▄█▀▀▄ ▀█ ▄▀██ ▀ █▄█ ▀▄██ █▀▄▄ ██▀ ▀▄ ▀█ ▀ █▄█ ▄▄▄▀▄██ ▄▀▄▄▄▄▄ ▀█ ▄▄ █▄█ ▄█▄ ████
████ █ █ █ ▀▀ ▀ ▀████▄▀█▄ ▄▀▀█ ▀▀▄▀▄▄▀███▀ ▀▄▄█▀ ▄▄▄ ▄ ██▄▀ ▄▄ ▀▄▀ ▀█▀█▀ ▄ ▄█▄▀█▀▀▀█ █ █▄▀▄█▀█ ██▄ ▄▄▄ ▀ █ ▄ █ ▀▄▀▀███ ██ ▄ █▄█ ▀▀▀▄█▀ █ █ ▀ ▀█ ▄ ▄▄▄█▄▀ █████
████ █▄▄▄█ █ ███ █ █▀█▀ ▄█ ▄▄▀ ▄█ ███▀ ▄▀▄██ ▄█ ▀ ▄██▀▀█▄ ▀▄▄ ▄███▀█ ▄ ▀▀█▄ ▄▀▄▄▀█▀▀ ▄▄▄▄ ▄ ▀▄██ ▄█ ▀ █▄▄▀█▀▄▀▀ ▀▄▀█ ██▄ ▀██▄▄▀█ █▄█▀ ▄▀ █▄▄█ ▄█ ▀ ▀▄▄ █████
████▄▄▄▄▄▄▄█▄█▄█████▄███▄▄█▄███▄██████▄▄██▄▄█▄███▄▄▄██▄██▄▄████▄▄▄▄▄█▄██████▄▄█▄▄█▄▄█▄▄█▄█▄▄██▄▄▄▄█▄█▄█▄▄▄▄█▄███▄██▄▄█▄███▄█▄▄▄▄▄█▄▄██▄▄▄█▄▄▄█▄▄▄▄▄█▄███▄█▄███████▄█ █████
████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ █████
████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ █████
root@localhost:/etc/wireguard# qrencode -t ansiutf8 < "wg0.conf"
root@localhost:/opt/wg-conf# ls | grep .conf
client1.conf
client2.conf
client3.conf
client4.conf
client5.conf
root@localhost:/opt/wg-conf# qrencode -t ansiutf8 < "client1.conf"
█████████████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████████████
████ ▄▄▄▄▄ █▀█▄▄█ ▀▄▀▄ ▀▄ ▄▄█▀▄▄█▄██▄ ▄██ █▄▄▀ ▀ ▄ ▄▄████▄▀█ ▄▄▄▄▄ ████
████ █ █ █▀█▄▄▀▀▄ ▀▄▄█ ▀█▄ █▀▄ ▄▀▄ ▀██▀█ ▄████▀ █▄ █ ██ ▀▄█ █ █ ████
████ █▄▄▄█ █▀██▀█ █▄ ▀▀▀▀█▄ ▀██▄ ▄▄▄
# 14: client4 > wgclient_client4.conf
[Peer]
PublicKey = xxxxxx=
PresharedKey = xxxxxx
AllowedIPs = 10.34.234.14/32, 191.168.178.0/24
# 15: client5 > wgclient_client5.conf
[Peer]
PublicKey = xxxxxx
PresharedKey = xxxxxxx
AllowedIPs = 10.34.234.15/32, 191.168.178.0/24
peer: xxxxxxx
preshared key: (hidden)
allowed ips: 10.34.234.14/32
peer: xxxxxx
preshared key: (hidden)
allowed ips: 10.34.234.15/32, 191.168.178.0/24
Wir verwenden Cookies und ähnliche Technologien für folgende Zwecke:
Akzeptieren Sie Cookies und diese Technologien?
Wir verwenden Cookies und ähnliche Technologien für folgende Zwecke:
Akzeptieren Sie Cookies und diese Technologien?