Hi,
I followed the wiki page for configuring the wireguard client but cannot handshake with my wireguard server.
I ran wg-keygen to generate private and public keys
My wireguard.config looks like this..
[provider_wireguard]
Type = WireGuard
Name = vpn-home
Host = vpn.mydomain.com
WireGuard.Address = 192.168.9.5/24
WireGuard.PrivateKey = [client private key from /storage/.cache/wireguard/privatekey]
WireGuard.PublicKey = [wireguard server public key]
WireGuard.DNS = 192.168.9.1
WireGuard.AllowedIPs = 0.0.0.0/0
WireGuard.EndpointPort = 51820
WireGuard.PersistentKeepalive = 25
My wireguard server peer config for this libreelec client:
public key = [client public key from /storage/.cache/wireguard/publickey]
allowed IPs = 192.168.9.5/32
persistent keep alive = 25
connmanctl services shows the service listed and I can connect. My wireguard server shows the client public IP address and random port (as I didn't specify WireGuard.ListenPort) but no handshake.
I cannot ping 192.168.9.1 (IP of wireguard gw/server) and cannot ping anything else as 0.0.0.0 is default route
If I run connmanctl disconnect myvpn then I can get to the internet again
The config looks good to me comparing with other wireguard clients connected to the same wireguard server but there must be something missing/wrong
Any ideas please?