nix.firewall.allowPrivateNetworks
NixOS option
Whether to allow traffic to local networks. Traffic is still subject to protocol/port rules. Note that this option may break DNS resolution when the DNS resolver is in a local network
type: unspecified valueDefault
true
Example
declared in: nixos/modules/services/system/nix-daemon-firewall.nixView source on NixOS/nixpkgs →false