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 69c44fd1ab
commit 004ed1b728
+10 -1
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";
};
}