Add failover routes to bakersfield-rpi4 / nuc-server

This commit is contained in:
albert 2024-12-16 21:15:25 +01:00
parent 5d1cf7088c
commit 14cabcd86e
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -6,6 +6,9 @@
time.timeZone = "America/Los_Angeles"; time.timeZone = "America/Los_Angeles";
networking.hostName = "bakersfield-rpi4"; networking.hostName = "bakersfield-rpi4";
services.tailscale.extraUpFlags = [ "--advertise-exit-node" ]; 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"
];
boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; }; boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; };
} }