On 12/08/2021 20:37, Alain D D Williams wrote:

Hi,

I have just installed fail2ban on a Debian 10 box. This has my own hand-written
iptables firewall and I have changed it to call f2b-sshd at an appropriate 
point.

However I notice that at the top of the INPUT chain this now exists:

f2b-sshd   tcp  --  0.0.0.0/0            0.0.0.0/0            multiport dports 
22

So f2b-sshd is called for every incoming packet. I do not want this as I call
f2b-sshd elsewhere.

How do I stop this happening ?

Thanks in advance

I have a couple of other questions that I will ask separately.

Change the rule back and let the default rules set up their own iptables rule.

All the rule is is a jump to a chain called f2b-sshd. Then f2b will add its bans to the f2b-sshd chain. There is no problem with all packets passing through the f2b-sshd chain. At the end of the chain the packets, if not dropped in the chain, return to go through the next rule in the INPUT chain.

Nick


_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to