add tailscale conf to use exit node

Former-commit-id: f1482b5c18
This commit is contained in:
Hadi
2025-04-04 15:42:39 +02:00
parent 5a9dc62173
commit 7a72b4229d

View File

@@ -13,5 +13,14 @@
} }
]; ];
}]; }];
services.tailscale = { enable = true; }; services.tailscale = {
enable = true;
openFirewall = true;
};
networking.firewall = {
trustedInterfaces = [ "tailscale0" ];
# required to connect to Tailscale exit nodes
checkReversePath = "loose";
};
} }