2022-06-29 16:51:19 +00:00
|
|
|
{config, ...}: {
|
2022-06-25 02:46:54 +00:00
|
|
|
services.tailscale = {
|
|
|
|
enable = true;
|
2022-06-29 20:03:48 +00:00
|
|
|
permitCertUid = "962";
|
2022-06-25 02:46:54 +00:00
|
|
|
};
|
2022-06-29 16:51:19 +00:00
|
|
|
networking.firewall = {
|
2022-07-16 02:05:23 +00:00
|
|
|
trustedInterfaces = ["tailscale0"];
|
|
|
|
allowedUDPPorts = [config.services.tailscale.port];
|
2022-06-29 16:53:35 +00:00
|
|
|
checkReversePath = "loose";
|
2022-06-29 16:51:19 +00:00
|
|
|
};
|
2022-06-25 02:46:54 +00:00
|
|
|
}
|