From f25fab947a04516d9ef4fb34ce758fda16f410cc Mon Sep 17 00:00:00 2001 From: RaspbianProyect by HP3ICC Date: Sat, 8 Apr 2023 22:11:41 +0000 Subject: [PATCH] Update f2b+ufw.sh --- install/f2b+ufw.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/install/f2b+ufw.sh b/install/f2b+ufw.sh index 16539e9..e0dfa84 100644 --- a/install/f2b+ufw.sh +++ b/install/f2b+ufw.sh @@ -1,4 +1,12 @@ sudo apt update + +if systemctl status iptables-persistent |grep active >/dev/null 2>&1 +then + sudo systemctl stop iptables-persistent + sudo systemctl disable iptables-persistent + +fi + #ufw sudo apt install ufw -y