networking.nat.enable
NixOS option
Whether to enable Network Address Translation (NAT). A properly configured firewall or a trusted L2 on all network interfaces is required to prevent unauthorized access to the internal network.
type: booleanDefault
declared in: nixos/modules/services/networking/nat.nixView source on NixOS/nixpkgs →false