Sample Header Ad - 728x90

How can I enable/disable a jail using fail2ban?

6 votes
1 answer
6494 views
We can add a line like this below a specific jail in the jail.local file, and control the jail: enabled = true/false But I think there should be a command to do this, as we've got bunch of "set" commands here: https://www.fail2ban.org/wiki/index.php/Commands But I can't find a related command for doing this. I don't want to do it manually, anybody knows a command to do this?
Asked by Aref Alikhani (85 rep)
Jun 30, 2020, 11:42 AM
Last activity: Sep 10, 2023, 02:46 AM