×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Massimo Zappino
Added: Nov 10, 2011 9:06 AM
Modified: Nov 10, 2011 9:07 AM
Views: 1199
Tags: email fail2ban
  1. Edit configuration file:
  2.  
  3.     nano /etc/fail2ban/jail.conf
  4.  
  5. Find the line
  6.  
  7.     action = %(action_)s
  8.  
  9. and replace it with
  10.  
  11.     action = %(action_mwl)s
  12.  
  13. or
  14.  
  15.     action = %(action_mw)s
  16.  
  17. Then restart Fail2Ban
  18.  
  19.  
  20.     /etc/init.d/fail2ban restart
  21.