1
0
Fork 0
mirror of https://github.com/Nyr/openvpn-install.git synced 2025-04-09 04:02:08 +00:00

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.
This commit is contained in:
Nyr 2020-04-01 00:54:00 +02:00 committed by Aleksandar Spasojevic
parent a294ca80e4
commit b8debf7f7f

View file

@ -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"