ma wireguard/server: add workaround for failing tunnel behind nat
This commit is contained in:
parent
b033dfd615
commit
a1ab1cde34
@ -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 New Issue
Block a user