networking.firewall.extraStopCommands
NixOS option
strings concatenated with "\n"
Written as a quoted string
Additional shell commands executed as part of the firewall shutdown script. These are executed just after the removal of the NixOS input rule, or if the service enters a failed state. This option only works with the iptables based firewall.
type: strings concatenated with "\n"Default
""
Example
declared in: nixos/modules/services/networking/firewall-iptables.nixView source on NixOS/nixpkgs →"iptables -P INPUT ACCEPT"