Workaround for fail2ban bug
- Temporary workaround for fail2ban bug on CentOS 7 - Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1422500
This commit is contained in:
parent
08e08c6924
commit
320e17a61d
@ -420,6 +420,7 @@ iptables-restore < "$IPT_FILE"
|
|||||||
|
|
||||||
# Restart services
|
# Restart services
|
||||||
modprobe -q pppol2tp
|
modprobe -q pppol2tp
|
||||||
|
mkdir -p /var/run/fail2ban
|
||||||
service fail2ban restart 2>/dev/null
|
service fail2ban restart 2>/dev/null
|
||||||
service ipsec restart 2>/dev/null
|
service ipsec restart 2>/dev/null
|
||||||
service xl2tpd restart 2>/dev/null
|
service xl2tpd restart 2>/dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user