1
1
mirror of https://github.com/namibia/openvpn-install.git synced 2024-06-26 15:14:05 +00:00

Automatically enable and start iptables on ArchLinux.

This commit is contained in:
TheKinrar 2016-11-22 19:55:17 +01:00
parent 6e2b5cb439
commit 9b261809eb

View File

@ -301,6 +301,11 @@ else
exit 4
fi
pacman -Syu openvpn iptables openssl wget ca-certificates curl --needed --noconfirm
if [[ "$OS" = 'arch' ]]; then
touch /etc/iptables/iptables.rules # iptables won't start if this file does not exist
systemctl enable iptables
systemctl start iptables
fi
fi
# Find out if the machine uses nogroup or nobody for the permissionless group
if grep -qs "^nogroup:" /etc/group; then