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