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