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; }; }