Fix-110: iptables-save now actually saves the iptables

This commit is contained in:
redfast00 2016-10-16 19:28:29 +02:00 committed by redfast00
parent 1a4e9cdb66
commit d900efe49b

View file

@ -836,7 +836,7 @@ confNetwork() {
echo 1 > /tmp/noUFW
$SUDO iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o $IPv4dev -j MASQUERADE
if [[ $PLAT == "Ubuntu" || $PLAT == "Debian" ]]; then
$SUDO iptables-save
$SUDO iptables-save | $SUDO tee /etc/iptables/rules.v4 > /dev/null
else
$SUDO netfilter-persistent save
fi