Troubleshooting Fail2Ban Issues with nftables
Fail2Ban may sometimes cause issues. In many cases, it’s enough to delete the nftables rules created by Fail2Ban, briefly stop the service, and then restart it. On restart, Fail2Ban will automatically recreate all necessary nftables sets and rules.
I’ll omit sudo in the following examples. It will be required when running nft commands.
Example to delete the f2b-table in the inet family context:
nft delete table inet f2b-table