Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

etc_fail2ban_jail.local.j2 631B

12345678910111213141516171819202122232425262728293031323334
  1. [DEFAULT]
  2. ignoreip = 127.0.0.1 {{ ansible_default_ipv4.address }} {{ ' '.join(friendly_networks) }}
  3. bantime = 86400
  4. destemail = {{ admin_email }}
  5. banaction = iptables-multiport
  6. action = %(action_)s
  7. # JAILS
  8. [ssh]
  9. enabled = true
  10. maxretry = 3
  11. [pam-generic]
  12. enabled = true
  13. banaction = iptables-allports
  14. [ssh-ddos]
  15. enabled = true
  16. [apache]
  17. enabled = true
  18. [postfix]
  19. enabled = true
  20. maxretry = 1
  21. [dovecot-pop3imap]
  22. enabled = true
  23. filter = dovecot-pop3imap
  24. action = iptables-multiport[name=dovecot-pop3imap, port="pop3,imap,993,995", protocol=tcp]
  25. logpath = /var/log/mail.log
  26. maxretry = 20
  27. findtime = 1200
  28. bantime = 1200