You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also had a problem that a IPv6 attacker was not blocked. First check your current ufw version:
$ ufw version
If you have >= 0.36 you can either adapt /etc/fail2ban/action.d/ufw.conf or create a new file /etc/fail2ban/action.d/ufw-custom.conf with the necessary change:
$ diff ufw.conf ufw-custom.conf
17c17< ufw insert <insertpos> <blocktype> from <ip> to <destination> $app---> ufw prepend <blocktype> from <ip> to <destination> $app23,26d22< # Option: insertpos< # Notes.: The position number in the firewall list to insert the block rule< insertpos = 1<
The text was updated successfully, but these errors were encountered:
ugjka
changed the title
I also had a problem that a IPv6 attacker was not blocked. First check your current ufw version:
fail2ban ufw ipv6 fix
Dec 21, 2023
If you have >= 0.36 you can either adapt
/etc/fail2ban/action.d/ufw.conf
or create a new file/etc/fail2ban/action.d/ufw-custom.conf
with the necessary change:and use that in
/etc/fail2ban/jail.local
.Originally posted by @blinkeye in fail2ban/fail2ban#2331 (comment)
The text was updated successfully, but these errors were encountered: