Fail2ban: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
(Created page with " quick guide: http://www.pontikis.net/blog/fail2ban-install-config-debian-wheezy")
 
No edit summary
 
Line 2: Line 2:
quick guide:
quick guide:
  http://www.pontikis.net/blog/fail2ban-install-config-debian-wheezy
  http://www.pontikis.net/blog/fail2ban-install-config-debian-wheezy
apt-get install fail2ban
vi /etc/fail2ban/jail.local
<pre>
[DEFAULT]
ignoreip  = 127.0.0.1 82.192.71.9 95.211.46.207
bantime  = 86400
destemail = you@your-email.com
banaction = iptables-multiport
action    = %(action_mwl)s
# JAILS
[ssh]
enabled  = true
maxretry  = 3
</pre>

Latest revision as of 16:11, 22 October 2018

quick guide:

http://www.pontikis.net/blog/fail2ban-install-config-debian-wheezy
apt-get install fail2ban
vi /etc/fail2ban/jail.local
[DEFAULT]
ignoreip  = 127.0.0.1 82.192.71.9 95.211.46.207
bantime   = 86400
destemail = you@your-email.com
banaction = iptables-multiport
action    = %(action_mwl)s

# JAILS
[ssh]
enabled   = true
maxretry  = 3