MyNixOS website logo
option

networking.nat.extraStopCommands

Additional shell commands executed as part of the nat teardown script.

This option is incompatible with the nftables based nat module.

Declarations
Type
strings concatenated with "\n"
Default
""
Example
"iptables -D INPUT -p icmp -j ACCEPT || true"