How do I ban an attacker IP with Fail2Ban manually by command line?
fail2ban-client -vvv set JAIL banip WW.XX.YY.ZZ
Check the jail where to add the IP using fail2ban-client status
Both commands may require to be executed as sudoer. In this case add a sudo
before them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With