networking.firewall.enable

NixOS option

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 in: nixos/modules/services/networking/firewall.nixView source on NixOS/nixpkgs →