1
0

configuration/router: use nixos-fw chain

This commit is contained in:
clerie 2023-02-03 00:16:41 +01:00
parent ee61ab2b1b
commit e2200e9516

View File

@ -20,10 +20,8 @@
networking.firewall.extraCommands = ''
# Open fireall for OSPF
ip6tables -A INPUT -p ospfigp -j ACCEPT
iptables -A INPUT -p ospfigp -j ACCEPT
ip46tables -A nixos-fw -p ospfigp -j nixos-fw-accept
# Open firewall for GRE
ip6tables -A INPUT -p gre -j ACCEPT
iptables -A INPUT -p gre -j ACCEPT
ip46tables -A nixos-fw -p gre -j nixos-fw-accept
'';
}