commit 5a4b6c80addc2ff55f5d68e0c94354e91df6636d parent b651ac62d60065d9c2950a36f0e6ec8132578486 Author: MTRNord <mtrnord1@gmail.com> Date: Tue, 12 Sep 2023 21:05:28 +0200 meow Diffstat:
| M | nixos/worker-1/configuration.nix | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -132,6 +132,14 @@ routes = [ { routeConfig.Gateway = "fe80::1"; } { routeConfig = { Gateway = "172.31.1.1"; GatewayOnLink = true; }; } + + # prevent some local traffic Hetzner doesn't like + { routeConfig = { Destination = "172.16.0.0/12"; Type = "unreachable"; }; } + { routeConfig = { Destination = "192.168.0.0/16"; Type = "unreachable"; }; } + + # { routeConfig = { Destination = "10.0.0.0/8"; Type = "unreachable"; }; } + { routeConfig = { Destination = "fc00::/7"; Type = "unreachable"; }; } + ]; }; };