ma wireguard/server: add workaround for failing tunnel behind nat

This commit is contained in:
makefu 2020-11-16 21:36:10 +01:00
parent dc744a6a43
commit c7c4b05800

View file

@ -54,4 +54,10 @@ in { # wireguard server
} }
]; ];
}; };
# TODO: this issue is related to the router which connects to the host but is
# unable to re-connect once restarted
systemd.services.wireguard-wg0.serviceConfig = {
Restart = "always";
RuntimeMaxSec = "12h";
};
} }