User Tools

Site Tools


haussteuerung:wireguard

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
haussteuerung:wireguard [2025/10/13 16:59] dominikhaussteuerung:wireguard [2025/10/17 17:19] (current) – [NAS] dominik
Line 1: Line 1:
 ====== WireGuard ====== ====== WireGuard ======
 +Unter OMV7 als "Custom Config" funktional. \\ 
 +Aber keine Client Verwaltung und Stats ... 
 +
 +===== TBD =====
 +  * WireGuard in Docker
 +  * WireGuard Web UI einrichten für Clients
  
 ===== VPS ===== ===== VPS =====
Line 5: Line 11:
 root@cloud-server-0:~# cat /etc/wireguard/wg0.conf root@cloud-server-0:~# cat /etc/wireguard/wg0.conf
 [Interface] [Interface]
-Address = 10.0.30.1/24+Address = 10.0.30.1/32
 PrivateKey = YFgaDQBWzcfCE25q8bUocKRqz5LT1GS6eGrX6SldT3s= PrivateKey = YFgaDQBWzcfCE25q8bUocKRqz5LT1GS6eGrX6SldT3s=
 ListenPort = 51820 ListenPort = 51820
Line 28: Line 34:
 #PublicKey = <INHALT_VON_notebook_public.key> #PublicKey = <INHALT_VON_notebook_public.key>
 #AllowedIPs = 10.0.30.4/32 #AllowedIPs = 10.0.30.4/32
 +
  
 </code> </code>
Line 33: Line 40:
 ===== NAS ===== ===== NAS =====
 <code | nas.conf> <code | nas.conf>
 +root@SHome-OMV:~# cat /etc/wireguard/wgnet_VPNExtern.conf
 +# This file is auto-generated by openmediavault (https://www.openmediavault.org)
 +# WARNING: Do not edit this file, your changes will get lost.
 [Interface] [Interface]
-Address = 10.0.30.2/24+Address = 10.0.30.2/32
 PrivateKey = EGPMX6pxjh86u0M+YaNUk21suG7iFIOl2jgkvVcf1ng= PrivateKey = EGPMX6pxjh86u0M+YaNUk21suG7iFIOl2jgkvVcf1ng=
 # ListenPort ist hier optional, da der NAS sich zum VPS verbindet. # ListenPort ist hier optional, da der NAS sich zum VPS verbindet.
Line 49: Line 59:
 # Hält die Verbindung aktiv, wichtig hinter NAT # Hält die Verbindung aktiv, wichtig hinter NAT
 PersistentKeepalive = 25 PersistentKeepalive = 25
 +
 </code> </code>
  
 ===== Handy ===== ===== Handy =====
 +<code | handy.conf>
 +[Interface]
 +PrivateKey = mJkKiZROoUm0PtT15kF8b3xmNVMGKUHv7dP6SxEyDEs=
 +Address = 10.0.30.3/32
 +DNS = 192.168.30.20
 +
 +[Peer]
 +PublicKey = mFFQAlQt3yMFpG6DbCtN61XXL379epc4MoL0mGM7H30=
 +AllowedIPs = 10.0.30.0/24, 192.168.30.0/24
 +Endpoint = 217.160.11.95:51820
 +</code>
haussteuerung/wireguard.1760367599.txt.gz · Last modified: by dominik

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki