networking.firewall.pingLimit
NixOS option
If pings are allowed, this allows setting rate limits on them. For the iptables based firewall, it should be set like “–limit 1/minute –limit-burst 5”. For the nftables based firewall, it should be set like “2/second” or “1/minute burst 5 packets”.
type: null or strings concatenated with " "Default
null
Example
declared in: nixos/modules/services/networking/firewall.nixView source on NixOS/nixpkgs →"--limit 1/minute --limit-burst 5"