Wireguard: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(17 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
−
=Two Nodes=
+
=Allgemein=
−
;schnubel
+
*[[Wireguard Grundsätzliches]]
−
;gustavo
 
−
=Installation=
 
−
*sudo add-apt-repository ppa:wireguard/wireguard
 
−
*sudo apt install wireguard
 
−
=Create Keys=
 
−
*cd /etc/wireguard
 
−
*wg genkey > private.key
 
−
*wg pubkey > public.key < private.key
 
−
*wg genpsk > psk.key
 
 
=Configuration=
 
=Configuration=
−
;schnubel
+
*[[Wirguard Bestpractice]]
−
*cat /etc/wireguard/wg0.conf
+
*[[Wireguard Temporary Configuration]]
−
<pre>
+
*[[Wireguard Static Configuration]]
−
[Interface]
+
*[[Wireguard Static Configuration with Transit Net]]
−
Address =  10.84.252.45/32
+
*[[Wireguard Server for Roadwarrior]]
−
PrivateKey = mLwHm48y8fRQrez3XrUzL3rSqgy51GwVj+W3/JuVxm4=
+
*[[Wireguard Windows]]
−
ListenPort = 50002
+
*[[Wirguard Konzentrator]]
 +
*[[Wirguard Full-Tunnel VPN]]
  
−
[Peer]
+
=Grafischer Client=
−
PublicKey = ULq8e5vYRa2s4phsRBkzOvRC8g819xM0/44rII6wqTg=
+
*https://github.com/UnnoTed/wireguird
−
PresharedKey = 7zyF6E3dQtpiJHBhOix46/MsSkHk2FukYQtZ3rAjJtg=
+
 
−
AllowedIPs = 10.83.33.0/24
+
=Webinterface=
−
Endpoint = 10.84.252.33:50002
+
*https://adminforge.de/linux-allgemein/vpn/wireguard-vpn-server-mit-web-interface-einrichten/
−
</pre>
 
−
;gustavo
 
−
*cat /etc/wireguard/wg0.conf
 
−
<pre>
 
−
[Interface]
 
−
Address =  10.84.252.33/32
 
−
PrivateKey = OJYseijxQRCfpFeMe3052mfDV6lhvOxpRLeVm9C520Y=
 
−
ListenPort = 50002
 
  
−
[Peer]
 
−
PublicKey = C1YoH/VxFLS5PjkhAxi13lG/Uq6jDwxSB5xMVHzm6ys=
 
−
PresharedKey = 7zyF6E3dQtpiJHBhOix46/MsSkHk2FukYQtZ3rAjJtg=
 
−
AllowedIPs = 10.83.45.0/24
 
−
Endpoint = 10.84.252.45:50002
 
−
</pre>
 
 
=Links=
 
=Links=
 
*https://www.thomas-krenn.com/de/wiki/Ubuntu_18.04_als_WireGuard_VPN_Client_konfigurieren
 
*https://www.thomas-krenn.com/de/wiki/Ubuntu_18.04_als_WireGuard_VPN_Client_konfigurieren
 
*https://wiki.ubuntuusers.de/WireGuard/
 
*https://wiki.ubuntuusers.de/WireGuard/
 +
*https://sarwiki.informatik.hu-berlin.de/WireGuard

Aktuelle Version vom 27. März 2025, 05:13 Uhr