Martineau
Part of the Furniture
I have the FTP 21 port open.
I have tried to enter wrong password from my mobile LTE connection to FTP many times per minute (in order to block that external IP) and I could still login immediately.
This solution will protect somehow this port even is open?
The Blacklist rules are inserted at the appropriate point in the '-t filter INPUT/FORWARD' chains just before the final 'DROP/logdrop' rules.
So if you have any port services such as FTP etc. 'open', then you will need to review the '-t filter / -t nat' rules to identify where the preceding 'ACCEPT' rules are defined that will be processed before hitting the Blacklist rules.
NOTE: There are several posts/examples/ showing techniques for 'throttling' / restricting the number of access attempts per minute etc. to even using IPSETs to implement 'port knocking security' which may better serve your needs.