added ufw

This commit is contained in:
julien
2025-10-03 14:10:29 +02:00
parent cefad8113e
commit 197f9c69ce

11
modules/firewall.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
echo
echo " => Firewall"
echo
dpkg -l ufw > /dev/null 2>&1
if [ $? -ne 0 ]; then
apt-get install ufw -y
ufw enable
fi