Skip to content

Working f2b now fails after upgrade to 1.1.0 #3740

Closed Answered by sebres
fvultee asked this question in Q&A
Discussion options

You must be logged in to vote

Related to this https://askubuntu.com/a/1428222 - iptables-legacy could fix that, however I don't think it is good idea.

No idea what is wrong with iptables here, but neither it is fail2ban issue, nor newer version of fail2ban changed something by iptables-actions.

And because it looks anyway like a iptables-nft layer (allowing iptables syntax with the nf_tables kernel subsystem), better would be to switch to nftables native actions instead, like fail2ban does it now by default for debians now...

banaction = nftables
banaction_allports = nftables[type=allports]

So either remove your own banaction or action

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sebres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants