Bitte um Hilfe, Wireguard , Proxmox, Unifi UDM Pro

Hallo zusammen,
ich benötige mal eure Hilfe, ich benutze eine Unifi UDM Pro, und habe mir jetzt ein Barebone geholt und mit Proxmox eingerichtet, läuft auch alles soweit.
Nun wollte ich gerne Wireguard in einen LXC Container haben, hatte mir auch verschiedene Youtube Video zur Installation angeschaut.
Aber leider sagt die WG App später es ist eine VPN Verbindung vorhanden, aber ich kann ich Heimnetz nichts erreichen. :scream:

UDM Pro:192.168.2.1
Barebone: 192.168.2.200
LXC Container WG: 192.168.2.91
WG Port: Port 51822

hier mal meine .conf

Do not alter the commented lines

They are used by wireguard-install

ENDPOINT ************.net

[Interface]
Address = 192.168.5.1/24
PrivateKey = z*******************************
ListenPort = 51822

BEGIN_PEER Iphone_Bjoern

[Peer]
PublicKey = z*******************************
PresharedKey = z*******************************
AllowedIPs = 192.168.5.2/32
PersistentKeepalive = 25

END_PEER Iphone_Bjoern

BEGIN_PEER Iphoen_15_max

[Peer]
PublicKey = z*******************************
PresharedKey = z*******************************
AllowedIPs = 192.168.5.3/32
PersistentKeepalive = 25

END_PEER Iphoen_15_max

hier ein Auszug von Log der WG App:
2024-01-31 07:46:52.460309: [APP] startActivation: Entering (tunnel: Mausehome)
2024-01-31 07:46:52.472210: [APP] startActivation: Starting tunnel
2024-01-31 07:46:52.472663: [APP] startActivation: Success
2024-01-31 07:46:52.484531: [APP] Tunnel ‚Mausehome‘ connection status changed to ‚connecting‘
2024-01-31 07:46:52.556481: [NET] App version: 1.0.16 (27)
2024-01-31 07:46:52.556645: [NET] Starting tunnel from the app
2024-01-31 07:46:52.775139: [NET] DNS64: mapped 2a02:560:596f:6100::1 to itself.
2024-01-31 07:46:52.776250: [NET] Attaching to interface
2024-01-31 07:46:52.776780: [NET] UAPI: Updating private key
2024-01-31 07:46:52.776991: [NET] Routine: handshake worker 3 - started
2024-01-31 07:46:52.777345: [NET] Routine: handshake worker 1 - started
2024-01-31 07:46:52.777347: [NET] Routine: event worker - started
2024-01-31 07:46:52.777481: [NET] Routine: encryption worker 4 - started
2024-01-31 07:46:52.777520: [NET] Routine: encryption worker 1 - started
2024-01-31 07:46:52.777549: [NET] Routine: decryption worker 1 - started
2024-01-31 07:46:52.777582: [NET] Routine: handshake worker 2 - started
2024-01-31 07:46:52.777627: [NET] Routine: encryption worker 6 - started
2024-01-31 07:46:52.777669: [NET] Routine: encryption worker 3 - started
2024-01-31 07:46:52.777686: [NET] Routine: handshake worker 5 - started
2024-01-31 07:46:52.777707: [NET] UAPI: Removing all peers
2024-01-31 07:46:52.777733: [NET] Routine: decryption worker 6 - started
2024-01-31 07:46:52.777741: [NET] Routine: decryption worker 4 - started
2024-01-31 07:46:52.777826: [NET] Routine: encryption worker 2 - started

IMG_0129

Kann mir jemand dazu helfen, bin selber nur ein kleiner Heimanwender.

Danke im voraus

Hi,
bin auch kein WG Profi, aber es riecht nach den Allowed-IPs

Vielleicht hilft es…

Hi,

danke schon mal, habe es mal versucht von der Seite es aus zu verstehen, schaffe ich aber leider nicht. :roll_eyes:

Habe wahrscheinlich grundsätzlich ein Verständnis Problem damit.

Unter Interface kommt die IP von meinen LXC Container rein, oder?
Wäre bei die 192.168.2.91

Un was müsste dann beim Peer für eine Ip Adresse rein ?

Do not alter the commented lines

They are used by wireguard-install

ENDPOINT **************.ipv64.net

[Interface]
Address = 192.168.2.91/24
PrivateKey = z*******************************
ListenPort = 51822

BEGIN_PEER Iphone_Bjoern

[Peer]
PublicKey = z*******************************
PresharedKey = z*******************************
AllowedIPs = 192.168.5.2/32
PersistentKeepalive = 25

END_PEER Iphone_Bjoern