1
0

configuration/router: All hosts using this config don't do BGP and OSPF

This commit is contained in:
2025-05-08 15:55:59 +02:00
parent 802a731a57
commit fa1220dcf8

View File

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