From 67e8427ba532eef211d08b3ae3afb98e24fa2806 Mon Sep 17 00:00:00 2001 From: Nyr Date: Wed, 1 Apr 2020 00:54:00 +0200 Subject: [PATCH] Remove the iptables NAT table check LowEndSpirit fixed the issue on their end, so this is longer needed. Additionally, the check causes unneeded trouble for users whose system doesn't have the iptables package installed. --- openvpn-install.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 062590b..5134b2f 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -43,13 +43,6 @@ You need to enable TUN before running this script" exit fi -if ! iptables -t nat -nL &>/dev/null; then - echo "Unable to initialize the iptables/netfilter NAT table, setup can't continue. -Make sure that your system has iptables/netfilter available. -If using OpenVZ, ask your provider to enable full netfilter support." - exit -fi - if [[ -e /etc/debian_version ]]; then os="debian" group_name="nogroup"