Update f2b+ufw.sh

This commit is contained in:
RaspbianProyect by HP3ICC 2023-04-08 22:11:41 +00:00
parent 8156d0ffe8
commit f25fab947a
1 changed files with 8 additions and 0 deletions

View File

@ -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