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 b033dfd615
commit a1ab1cde34
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

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";
};
}