This shows you the differences between two versions of the page.
fail2ban:fail2ban_commands [2015/12/10 18:48] cbustillo created |
fail2ban:fail2ban_commands [2020/04/10 17:38] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Commands ====== | ||
- | |||
- | The commands presented above can be executed using: | ||
- | |||
- | $ fail2ban-client <COMMAND> | ||
- | |||
- | or by typing them in the interactive console available with: | ||
- | |||
- | $ fail2ban-client -i | ||
- | |||
- | ===== Example ===== | ||
- | |||
- | Manually Unban a <IP> address in <JAIL>: | ||
- | |||
- | <code>fail2ban-client set <JAIL> unbanip <IP></code> | ||
- | |||
- | For sshd jail: | ||
- | |||
- | <code>fail2ban-client set sshd unbanip 10.12.112.1</code> | ||
- | |||
- | ====== Resources ====== | ||
- | |||
- | http://www.fail2ban.org/wiki/index.php/Commands | ||
- | |||
- | |||
- | |||