networking.firewall.enable

Whether to enable the firewall. This is a simple stateful firewall that blocks connection attempts to unauthorised TCP or UDP ports on this machine.

Type
boolean
Default
true
Declared
<nixpkgs/nixos/modules/services/networking/firewall.nix>