Wireguard connman problems

Hello,
I have been running wireguard server for awhile and it works with all my clients. However now I wanted to get it to work on coreelec aswell.
I am able to setup the connection and i see in the server client is connected but I can’t get traffic through. Routing looks ok aswell.

Have tested it on two coreelec instances running 19.2 matrix and one 9.2.8, same problem at both places. I really do not see the problem.

Normal WireGuard client conf which works with a regular wireguard client
[Interface]
Address = 10.10.10.2/32
DNS = 192.168.4.1
PrivateKey = XXXX

[Peer]
PublicKey = XXXX
AllowedIPs = 0.0.0.0/0
Endpoint = x.x.x.x:41721
PersistentKeepalive = 25

Converted to connmanctl format:
[provider_wireguard]
Type = WireGuard
Name = WireGuard
Host = x.x.x.x
WireGuard.Address = 10.10.10.2/32
WireGuard.PrivateKey = XXX
WireGuard.PublicKey = XXX
WireGuard.DNS = 192.168.4.1
WireGuard.AllowedIPs = 0.0.0.0/0
WireGuard.EndpointPort = 41721
WireGuard.PersistentKeepalive = 25

route after connmanctl sets up link:
default dev wg0 scope link
192.168.6.0/24 dev eth0 scope link src 192.168.6.9
192.168.6.1 dev eth0 scope link
255.255.255.255 via 192.168.6.1 dev eth0

EDIT: solved, you can not use a DNS adress a hostname in HOST

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