From 0dfd0b5747f4c762ccadcb4305dd8690c34c4c08 Mon Sep 17 00:00:00 2001 From: godot Date: Thu, 18 Jul 2024 19:03:40 +0200 Subject: [PATCH] iptables-persistent relocate --- script.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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