diff --git a/vpnsetup.sh b/vpnsetup.sh index e07d79e..fa5e7e4 100755 --- a/vpnsetup.sh +++ b/vpnsetup.sh @@ -419,7 +419,6 @@ fi bigecho "Enabling services on boot..." -# Check for iptables-persistent IPT_PST="/etc/init.d/iptables-persistent" IPT_PST2="/usr/share/netfilter-persistent/plugins.d/15-ip4tables" ipt_load=1 @@ -492,9 +491,6 @@ sysctl -e -q -p chmod +x /etc/rc.local chmod 600 /etc/ipsec.secrets* /etc/ppp/chap-secrets* /etc/ipsec.d/passwd* -# Apply new IPTables rules -iptables-restore < "$IPT_FILE" - # Restart services mkdir -p /run/pluto service fail2ban restart 2>/dev/null