Debian Jessie – fail2ban installation

How to install and configure fail2ban for Debian Jessie:

apt-get install fail2ban

cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local
nano /etc/fail2ban/jail.local

#one week
bantime = 604800
destemail = youremail@DOMAIN.TLD
sender = fail2ban@DOMAIN.TLD
banaction = iptables-allports
#nicht postfix!
mta = sendmail
action = %(action_mwl)s

/etc/init.d/fail2ban restart

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Nach oben scrollen