Firewall: Difference between revisions

imported>Rascal999
mNo edit summary
imported>N8henrie
m Incorrectly says it is based on ntfables, which is not true by default.
Line 1: Line 1:
NixOS provides an interface to configure the [https://www.nftables.org/ Nftables] based firewall through the option <code>networking.firewall</code>.
NixOS provides an interface to configure the firewall through the option <code>networking.firewall</code>.
 
Whether the firewall is based on [https://www.nftables.org/ Nftables] or iptables depends on the value of [https://github.com/NixOS/nixpkgs/blob/4bff9cd9f809b8f510a21be0c845bf37e6af148c/nixos/modules/services/networking/firewall.nix#L73  <code>config.networking.nftables.enable</code>].


== Enable ==
== Enable ==