Update routes

This commit is contained in:
albert 2024-12-22 20:07:08 +01:00
parent 068858e4cb
commit b912ae8e11
Signed by: albert
GPG key ID: 3895DD267CA11BA9
2 changed files with 4 additions and 3 deletions

View file

@ -8,7 +8,8 @@
networking.hostName = "bakersfield-rpi4";
services.tailscale.extraUpFlags = [
"--advertise-exit-node"
"--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,192.168.1.101/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,192.168.1.101/32,192.168.1.99/32,192.168.1.0/24"
];
boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; };
networking.firewall.allowedTCPPorts = [ 22 ];
}

View file

@ -38,10 +38,10 @@
# Set the networking hostname:
networking.hostName = "nuc-server";
# networking.firewall.allowedTCPPorts = [ 22 ];
networking.firewall.allowedTCPPorts = [ 22 ];
services.tailscale.extraUpFlags = [
"--advertise-exit-node"
"--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"
"--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,192.168.1.99/32,192.168.1.0/24"
];
}