networking.nat.extraStopCommands
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
"iptables -D INPUT -p icmp -j ACCEPT || true"- Declared
- <nixpkgs/nixos/modules/services/networking/nat-iptables.nix>