diff --git a/vpnsetup.sh b/vpnsetup.sh index 3de4020..b77b8bd 100644 --- a/vpnsetup.sh +++ b/vpnsetup.sh @@ -401,7 +401,7 @@ fi # Apply new IPTables rules /sbin/iptables-restore < /etc/iptables.rules -/sbin/ip6tables-restore < /etc/ip6tables.rules +/sbin/ip6tables-restore < /etc/ip6tables.rules >/dev/null 2>&1 # Restart services /usr/sbin/service fail2ban stop >/dev/null 2>&1 diff --git a/vpnsetup_centos.sh b/vpnsetup_centos.sh index 04b3b23..9cfe65e 100644 --- a/vpnsetup_centos.sh +++ b/vpnsetup_centos.sh @@ -439,7 +439,7 @@ fi # Apply new IPTables rules /sbin/iptables-restore < /etc/sysconfig/iptables -/sbin/ip6tables-restore < /etc/sysconfig/ip6tables +/sbin/ip6tables-restore < /etc/sysconfig/ip6tables >/dev/null 2>&1 # Restart services /sbin/service fail2ban stop >/dev/null 2>&1