networking.nat.extraStopCommands
NixOS option
Additional shell commands executed as part of the nat teardown script. This option is incompatible with the nftables based nat module.
type: strings concatenated with "\n"Default
""
Example
declared in: nixos/modules/services/networking/nat-iptables.nixView source on NixOS/nixpkgs →"iptables -D INPUT -p icmp -j ACCEPT || true"