|
|
|
|
@ -110,7 +110,7 @@ if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ] || [ "$DISTRO" == "ras
@@ -110,7 +110,7 @@ if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ] || [ "$DISTRO" == "ras
|
|
|
|
|
echo "Saving ip6tables rules" |
|
|
|
|
sudo bash -c "ip6tables-save > /etc/iptables/rules.v6" |
|
|
|
|
fi |
|
|
|
|
else |
|
|
|
|
elif [ "$DISTRO" == "arch" ]; then |
|
|
|
|
echo "Saving iptables rules" |
|
|
|
|
sudo bash -c "iptables-save > /etc/iptables/rules.v4" |
|
|
|
|
echo "Saving ip6tables rules" |
|
|
|
|
|