From 320e17a61d4c95a4cd97f595c8863ba5140f7fe5 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Thu, 16 Feb 2017 12:14:13 -0600 Subject: [PATCH] Workaround for fail2ban bug - Temporary workaround for fail2ban bug on CentOS 7 - Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1422500 --- vpnsetup_centos.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/vpnsetup_centos.sh b/vpnsetup_centos.sh index ec50a49..b343380 100755 --- a/vpnsetup_centos.sh +++ b/vpnsetup_centos.sh @@ -420,6 +420,7 @@ iptables-restore < "$IPT_FILE" # Restart services modprobe -q pppol2tp +mkdir -p /var/run/fail2ban service fail2ban restart 2>/dev/null service ipsec restart 2>/dev/null service xl2tpd restart 2>/dev/null