From b5de62baf8703d3597edd5e2bf7a7212c7d41a05 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 2 May 2018 13:41:00 +0200 Subject: Added fail2ban support for sshd on linux --- templates/fail2ban/jail.local | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 templates/fail2ban/jail.local (limited to 'templates') diff --git a/templates/fail2ban/jail.local b/templates/fail2ban/jail.local new file mode 100644 index 0000000..c43a87b --- /dev/null +++ b/templates/fail2ban/jail.local @@ -0,0 +1,11 @@ +############################################################################### +# \_o< WARNING : This file is being managed by cfengine! >o_/ # +# ~~~~ ~~~~ # +############################################################################### +[DEFAULT] +ignoreip = 127.0.0.1/8 10.1.0.0/24 37.187.103.36 137.74.173.247 90.85.207.113 +bantime = 3600 +banaction = shorewall + +[sshd] +enabled = true -- cgit v1.2.3