Unfortunately the same behaviour - could not ping anything. My UDM does not see this VPN client connected anyway. When I connect my Windows client I can see this on my UDM. So I think the VPN connection is not really established at that moment.
Posts by QBJack
-
-
Of course I have already searched the forums and other discussions about that but did not found any working solution.
-
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 :
Code
Display More[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
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:
CodeLibreELEC:~/.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