From fa1220dcf848d9f3728d5b074957c82c6d28211a Mon Sep 17 00:00:00 2001 From: clerie Date: Thu, 8 May 2025 15:55:59 +0200 Subject: [PATCH] configuration/router: All hosts using this config don't do BGP and OSPF --- configuration/router/default.nix | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/configuration/router/default.nix b/configuration/router/default.nix index afc974e..23541a7 100644 --- a/configuration/router/default.nix +++ b/configuration/router/default.nix @@ -12,16 +12,4 @@ }; networking.firewall.checkReversePath = false; - - networking.firewall.allowedTCPPorts = [ - # Open Firewall for BGP - 179 - ]; - - networking.firewall.extraCommands = '' - # Open fireall for OSPF - ip46tables -A nixos-fw -p ospfigp -j nixos-fw-accept - # Open firewall for GRE - ip46tables -A nixos-fw -p gre -j nixos-fw-accept - ''; }