feat(vpn): improve tailscale routing

This commit is contained in:
Felix Schröter 2025-06-06 18:05:31 +02:00
parent 5b7be699f3
commit 7ac80d78f1
Signed by: felschr
GPG key ID: 671E39E6744C807D
2 changed files with 2 additions and 1 deletions
hosts/home-server
system

View file

@ -128,6 +128,7 @@ in
inherit hostKeys;
};
services.tailscale.useRoutingFeatures = "both";
services.tailscale.extraUpFlags = [
# "--accept-routes" # breaks incoming connections from outside Tailnet
"--advertise-tags=tag:felschr-com"

View file

@ -19,7 +19,7 @@ in
enable = true;
package = pkgs.unstable.tailscale;
openFirewall = true;
useRoutingFeatures = "both";
useRoutingFeatures = lib.mkDefault "client";
extraUpFlags = [
"--reset"
"--exit-node-allow-lan-access"