From 71f5fcc023ad533c89b88e43381bba2d6bb9d281 Mon Sep 17 00:00:00 2001 From: Nyr Date: Wed, 16 Oct 2019 22:09:25 +0200 Subject: [PATCH] Resolves #664 --- openvpn-install.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openvpn-install.sh b/openvpn-install.sh index 1216b50..6adaf40 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -43,6 +43,13 @@ 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. +If you are a LowEndSpirit customer, see here: https://git.io/nfLES +If you are getting this message on any other provider, ask them for support." + exit +fi + if [[ -e /etc/debian_version ]]; then os="debian" group_name="nogroup"