ma wireguard/server: add workaround for failing tunnel behind nat
This commit is contained in:
parent
dc744a6a43
commit
c7c4b05800
|
@ -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";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue