tailscale: Set routing features to allow exit node
This commit is contained in:
parent
ee5ec2d72d
commit
7598353413
1 changed files with 2 additions and 3 deletions
|
@ -12,10 +12,9 @@ in
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.tailscale = {
|
services.tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
useRoutingFeatures = "both";
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.tailscaled.environment = mkIf cfg.nftables {
|
systemd.services.tailscaled.environment = mkIf cfg.nftables { TS_DEBUG_FIREWALL_MODE = "auto"; };
|
||||||
TS_DEBUG_FIREWALL_MODE = "auto";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue