Skip to main content

Why isn't Fail2ban regenerating its iptables chains? [Resolved]

At some point while running iptables -S on an Ubuntu 18.04.2 LTS system with Fail2ban installed, I noticed that the following lines were missing:

-N f2b-sshd
-A f2b-sshd -j RETURN

What command should I run to regenerate the f2b-sshd chain and all the rules associated with it? I tried running fail2ban-client restart, but this doesn't appear to have any effect.

Question Credit: Chris Frederick
Question Reference
Asked March 15, 2019
Posted Under: Network
1 Answers

Your Answer