Hello guys,
I need help to get a working VPN connection from Rpi4 with LE 11 (latest as today) to my Unifi Dreammachine.
I used this instruction to setup the LE side: WireGuard - LibreELEC.wiki
On my Unifi DM I created a new WG client and downloaded the provided config file. This files contains most data for the config on LE side like privatekey, publickey, allowed-ips and so on. UDM version is the latest release as well.
From that information given I created the following wireguard.config file :
[provider_wireguard]
Type = WireGuard
Name = myvpn
Host = <public ip of my UDM>
WireGuard.Address = 192.168.4.2/32
WireGuard.PrivateKey = <private key here>
WireGuard.PublicKey = <pubic key here>
# WireGuard.PresharedKey =
WireGuard.DNS = 192.168.4.1
WireGuard.AllowedIPs = 192.168.4.1/32,192.168.4.2/32,0.0.0.0/0
WireGuard.EndpointPort = 51820
WireGuard.PersistentKeepalive = 25
Display More
When starting the VPN connection I get:
but trying to ping the VPN gateway's private IP or anything else on my private network gives me this:
LibreELEC:~/.config/wireguard # ping 192.168.4.1
PING 192.168.4.1 (192.168.4.1): 56 data bytes
ping: sendto: Required key not available
Simple ping is not possible and my UDM shows no VPN clients connected at all.
Using this exact config from my UDM on my Wireguard Windows Installation just works without issues and I can ping and access my network stuff.
Please help on that. Thanks in advance.
Best regards
Thomas