User Tools

Site Tools


fail2ban:fail2ban_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
fail2ban:fail2ban_commands [2015/12/10 13:51]
cbustillo [Example]
fail2ban:fail2ban_commands [2016/03/29 22:03] (current)
cbustillo@uclv [Example]
Line 23: Line 23:
 <​code>​$ fail2ban-client set sshd unbanip 10.12.112.1</​code>​ <​code>​$ fail2ban-client set sshd unbanip 10.12.112.1</​code>​
  
 +Manually ban a  <IP> address in <​JAIL>:​
 +
 +<​code>​$ fail2ban-client set <​JAIL>​ banip <​IP></​code>​
 +
 +For sshd jail:
 +
 +<​code>​$ fail2ban-client set sshd banip 10.12.112.1</​code>​
 ====== Resources ====== ====== Resources ======
  
fail2ban/fail2ban_commands.txt ยท Last modified: 2016/03/29 22:03 by cbustillo@uclv