Ubuntu – fail2ban – SSH – Dovecot – Postfix

Genervt von den Bruteforce Login Versuchen?

iptables aktivieren

# aptitude install fail2ban

# vi /etc/fail2ban/jail.conf

destemail = Webmaster@
ignoreip = 127.0.0.1/8 aaa.bbb.ccc.ddd/32 eee.fff.ggg.hhh/24

[ssh]
enabled  = true

[dovecot]
enabled = true

[postfix]
enabled  = true

# /etc/init.d/fail2ban restart