document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. /etc/fail2ban/jail.local
  2.  
  3. [DEFAULT]
  4.  
  5. # "ignoreip" can be an IP address, a CIDR mask or a DNS host
  6. ignoreip = 127.0.0.1/8
  7. bantime = 36000
  8. maxretry = 3
  9.  
  10. [ssh]
  11. enabled = true
  12. port = ssh
  13. filter = sshd
  14. logpath = /var/log/auth.log
  15. maxretry = 3
  16.  
  17. [vsftpd]
  18. enabled = true
  19. port = ftp,ftp-data,ftps,ftps-data
  20. filter = vsftpd
  21. logpath = /var/log/vsftpd.log
  22. # or overwrite it in jails.local to be
  23. # logpath = /var/log/auth.log
  24. # if you want to rely on PAM failed login attempts
  25. # vsftpd's failregex should match both of those formats
  26. maxretry = 3
  27.  
  28. [wordpress]
  29. enabled = true
  30. port = http,https
  31. filter = wordpress
  32. logpath = /var/log/auth.log
  33. maxretry = 3
');