From 6a5c14b8736165c2447d249591c26b7c6f3973e9 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Thu, 3 May 2018 01:34:05 -0500 Subject: [PATCH] Minor fix --- vpnsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpnsetup.sh b/vpnsetup.sh index 80e6c6d..31af685 100755 --- a/vpnsetup.sh +++ b/vpnsetup.sh @@ -449,7 +449,7 @@ cat >> /etc/rc.local <<'EOF' (sleep 15 service ipsec restart service xl2tpd restart -[ -f "/usr/sbin/netplan" ] && iptables-restore < /etc/iptables.rules +[ -f "/usr/sbin/netplan" ] && { iptables-restore < /etc/iptables.rules; service fail2ban restart; } echo 1 > /proc/sys/net/ipv4/ip_forward)& exit 0 EOF