From caa7cf97a974bbe61e69a7eaada59fef8876cc07 Mon Sep 17 00:00:00 2001 From: albert Date: Fri, 25 Oct 2024 03:33:06 +0200 Subject: [PATCH] Update Tailscale routes for nuc-server and quitman-rpi4 --- nixos/hosts/nuc-server/default.nix | 2 +- nixos/hosts/quitman-rpi4/default.nix | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/nuc-server/default.nix b/nixos/hosts/nuc-server/default.nix index c890f9bc..4a9ac41b 100644 --- a/nixos/hosts/nuc-server/default.nix +++ b/nixos/hosts/nuc-server/default.nix @@ -32,6 +32,6 @@ services.tailscale.extraUpFlags = [ "--advertise-exit-node" - "--advertise-routes=10.2.0.0/24,192.168.1.13/32,192.168.1.14/32" + "--advertise-routes=192.168.1.13/32,192.168.1.14/32,192.168.1.15/32,192.168.1.100/32,192.168.1.31/32" ]; } diff --git a/nixos/hosts/quitman-rpi4/default.nix b/nixos/hosts/quitman-rpi4/default.nix index 3776fcfc..ca62ec91 100644 --- a/nixos/hosts/quitman-rpi4/default.nix +++ b/nixos/hosts/quitman-rpi4/default.nix @@ -50,6 +50,9 @@ # END hardware config ##################################################################################### - services.tailscale.extraUpFlags = [ "--advertise-exit-node" ]; + services.tailscale.extraUpFlags = [ + "--advertise-exit-node" + "--advertise-routes 192.168.1.0/24,192.168.68.0/24" + ]; boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; }; }