wireguard dont connect at boot

  • Hello! Im trying to connect to my wireguard server with ConnMan. I can connect with "connmanctl connect" and if I manually start the service with "systemctl start wireguard.service".

    But the service do not auto start and I get some errors every boot. Anybody know what my problem is?

    I use IP and not a domain name.


  • I think I solved it with changing "ExecStart=/bin/sleep 10" and now It works.

    the problem are still with the routes. Connman still adds a route for

    Code
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 wg0

    Why cant wireguard handle the routes?

    Edited once, last by joulester (August 18, 2021 at 10:19 AM).