iptables-persistent relocate

This commit is contained in:
godot 2024-07-18 19:03:40 +02:00
parent 95e179d65d
commit 0dfd0b5747

View File

@ -139,7 +139,9 @@ if [[ "$ansFirewallSetup" =~ ("Y"|"y") || -z "$ansFirewallSetup" ]]; then
iptables -P FORWARD DROP #Block all forwarding iptables -P FORWARD DROP #Block all forwarding
iptables -P OUTPUT ACCEPT #Allow all outgouing iptables -P OUTPUT ACCEPT #Allow all outgouing
sudo apt install iptables-persistent -y
else else
printf "\nOK it is time for manual configuration" printf "\nOK it is time for manual configuration"
@ -147,7 +149,7 @@ if [[ "$ansFirewallSetup" =~ ("Y"|"y") || -z "$ansFirewallSetup" ]]; then
fi fi
apt install iptables-persistent -y
fi fi