diff options
author | makefu <github@syntax-fehler.de> | 2020-11-16 21:36:10 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-11-16 21:36:10 +0100 |
commit | c7c4b0580073017a31f19491399fb621dbeb6176 (patch) | |
tree | ba2255d25e421a136f6411d909ff372b154f01c7 /2configs | |
parent | dc744a6a43fe0c939c0c941e6442e79d86ed294f (diff) |
ma wireguard/server: add workaround for failing tunnel behind nat
Diffstat (limited to '2configs')
-rw-r--r-- | 2configs/wireguard/server.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/2configs/wireguard/server.nix b/2configs/wireguard/server.nix index ae10f34a2..1b81cf57f 100644 --- a/2configs/wireguard/server.nix +++ b/2configs/wireguard/server.nix @@ -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"; + }; } |