services.fail2ban.banaction
Default banning action (e.g. iptables, iptables-new, iptables-multiport, iptables-ipset-proto6-allports, shorewall, etc). It is used to define action_* variables. Can be overridden globally or per section within jail.local file
- Type
string- Default
if config.networking.nftables.enable then "nftables-multiport" else "iptables-multiport"- Declared
- <nixpkgs/nixos/modules/services/security/fail2ban.nix>