Wireguard problems, drops ssh access

Running a new coreelec 20 installation.

Trying to get wireguard to work, but as soon as i enable vpn connection network on box dies.
I loose ssh connection so kind of hard to debug this…

On the server side I run wg show and I can see that no client has connected.

Don’t really know howto debug this since I can not access the machine, have to disable vpn through gui and then I get access again.

(I have tested keys on my osx wireguard client so they are not the problem)
My client config.
[provider_wireguard]
Type = WireGuard
Name = WireGuard
Host = x.x.x.x
WireGuard.Address = 10.10.10.8/32
WireGuard.PrivateKey = XXXX
WireGuard.PublicKey = YYYYY
WireGuard.DNS = 192.168.7.2, 192.168.7.3
WireGuard.AllowedIPs = 0.0.0.0/0
WireGuard.EndpointPort = 41721
WireGuard.PersistentKeepalive = 25

In journcalctl I can see after I have deactivated wireguard again.
.
.
Mar 05 14:21:48 CoreELEC connmand[3502]: wg0 {add} address 10.10.10.8/32 label wg0 family 2
Mar 05 14:21:48 CoreELEC connmand[3502]: Adding host route failed (Network is unreachable)
Mar 05 14:21:48 CoreELEC connmand[3502]: Adding host route failed (Network is unreachable)
.
.

maybe
WireGuard.DNS = 8.8.8.8, 1.1.1.1

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.