1
0
mirror of https://github.com/Nyr/openvpn-install.git synced 2024-11-27 15:36:07 +03: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 GitHub
parent 9ea14fcbfc
commit 67e8427ba5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"