How to block ip's permanently

Hi everyone, I hope you’re doing well. I’m seeing there are so many ip’s are blocked on logs. I guess fail2ban are blocking them, which means those ip’s are trying to access my server. I want to know, is there any way to block them permanently?

Login to SSH and edit file:


There is parameter bantime = 10m , change it to whatever you need.

More about f2b config here: Fail2ban - ArchWiki

1 Like

Thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.