configuration/router: use nixos-fw chain
This commit is contained in:
parent
ee61ab2b1b
commit
e2200e9516
@ -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
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user