Files
extra/fail2ban/jail.conf.patch
2025-06-22 20:39:04 -05:00

14 lines
580 B
Diff

--- fail2ban-0.11.2/config/jail.conf 2021-09-03 15:31:47.314418681 +0200
+++ fail2ban-0.11.2/config/jail.conf 2021-09-03 15:32:02.510904273 +0200
@@ -205,8 +205,8 @@
# iptables-multiport, shorewall, etc) It is used to define
# action_* variables. Can be overridden globally or per
# section within jail.local file
-banaction = iptables-multiport
-banaction_allports = iptables-allports
+banaction = nftables
+banaction_allports = nftables-allports
# The simplest action to take: ban only
action_ = %(banaction)s[port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]