From 785a8b2b45f0faf5e2578099bca1090c9c1417bb Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sun, 9 Feb 2020 11:58:21 -0600 Subject: Opensourcing raspberry pi roles. --- roles/base/files/jail.local | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 roles/base/files/jail.local (limited to 'roles/base/files/jail.local') diff --git a/roles/base/files/jail.local b/roles/base/files/jail.local new file mode 100644 index 0000000..a5cabc4 --- /dev/null +++ b/roles/base/files/jail.local @@ -0,0 +1,10 @@ +[ssh] + +enabled = true +port = ssh +filter = sshd +logpath = /var/log/auth.log +bantime = 900 +banaction = iptables-allports +findtime = 900 +maxretry = 3 -- cgit v1.2.3