Changes

From SME Server
Jump to navigationJump to search
30 bytes added ,  09:42, 31 August 2013
Line 182: Line 182:  
=== Unban an IP ===
 
=== Unban an IP ===
 
In certain case you would to unban an IP immediately because you don't want waste time to wait the  automatic IP unban process of fail2ban.
 
In certain case you would to unban an IP immediately because you don't want waste time to wait the  automatic IP unban process of fail2ban.
In first you you have to find the specific jail which has blocked you IP, you can refer to the mail that the admin user has received.
+
In first you you have to find the specific jail which has blocked you IP, you can refer to the mail that the admin user has received or you can list a specific jail.
    
  fail2ban-client status qpsmtpd
 
  fail2ban-client status qpsmtpd
Line 195: Line 195:  
     |  `- IP list: 93.17.128.20  
 
     |  `- IP list: 93.17.128.20  
 
     `- Total banned: 1
 
     `- Total banned: 1
 +
 +
If you want to know all you active jail, then do :
 +
 +
fail2ban-client status
    
Therefore you have to play with this command to unban your IP
 
Therefore you have to play with this command to unban your IP
Line 203: Line 207:     
  fail2ban-client set JAIL unbanip MYIP
 
  fail2ban-client set JAIL unbanip MYIP
  −
If you want to know all you active jail, then do :
  −
  −
fail2ban-client status
  −
      
=== Uninstall ===
 
=== Uninstall ===

Navigation menu