From 3ddbd5237b5155f9892c038d7fc9100d7585d1ef Mon Sep 17 00:00:00 2001
From: Pete
Date: Thu, 12 Oct 2017 13:14:32 +0200
Subject: [PATCH] Add new file
---
docs/hardening/anti-bruteforce/jail.local | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 docs/hardening/anti-bruteforce/jail.local
diff --git a/docs/hardening/anti-bruteforce/jail.local b/docs/hardening/anti-bruteforce/jail.local
new file mode 100644
index 0000000000..fc7cc08d46
--- /dev/null
+++ b/docs/hardening/anti-bruteforce/jail.local
@@ -0,0 +1,10 @@
+#
+# This does into / at the end of /etc/fail2ban/jail.local
+#
+[wp-auth]
+ enabled = true
+ filter = wp-auth
+ action = iptables-multiport[name=wp-auth, port="http,https"]
+ logpath = /var/www/clients/client*/web*/log/*.log
+ bantime = 1200
+ maxretry = 5
\ No newline at end of file
--
GitLab