networking.firewall.allowPing
NixOS option
Whether to respond to incoming ICMPv4 echo requests (“pings”). ICMPv6 pings are always allowed because the larger address space of IPv6 makes network scanning much less effective.
type: booleanDefault
declared in: nixos/modules/services/networking/firewall.nixView source on NixOS/nixpkgs →true