configuration/router: use nixos-fw chain
This commit is contained in:
parent
ee61ab2b1b
commit
e2200e9516
@ -20,10 +20,8 @@
|
|||||||
|
|
||||||
networking.firewall.extraCommands = ''
|
networking.firewall.extraCommands = ''
|
||||||
# Open fireall for OSPF
|
# Open fireall for OSPF
|
||||||
ip6tables -A INPUT -p ospfigp -j ACCEPT
|
ip46tables -A nixos-fw -p ospfigp -j nixos-fw-accept
|
||||||
iptables -A INPUT -p ospfigp -j ACCEPT
|
|
||||||
# Open firewall for GRE
|
# Open firewall for GRE
|
||||||
ip6tables -A INPUT -p gre -j ACCEPT
|
ip46tables -A nixos-fw -p gre -j nixos-fw-accept
|
||||||
iptables -A INPUT -p gre -j ACCEPT
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user