From 3f5df5e15b534ab46cfaaf53b9f08d948c954316 Mon Sep 17 00:00:00 2001 From: Johan Date: Wed, 5 Apr 2023 11:08:38 +0200 Subject: [PATCH] Update install-ufw.sh --- BashScripts/install-ufw.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/BashScripts/install-ufw.sh b/BashScripts/install-ufw.sh index 2625f09..f625069 100644 --- a/BashScripts/install-ufw.sh +++ b/BashScripts/install-ufw.sh @@ -32,10 +32,11 @@ iptables --list >/dev/null 2>&1 && ( ufw status >/dev/null 2>&1 || ( echo "Installing UFW..." apt install ufw -y 2>>install.log - ufw default allow outgoing 2>>install.log - ufw default deny incoming 2>>install.log - ufw allow ssh 2>>install.log - ufw enable 2>>install.log ) +echo "Setting UFW rules..." +ufw default allow outgoing 2>>install.log +ufw default deny incoming 2>>install.log +ufw allow ssh 2>>install.log +ufw enable 2>>install.log echo 'Installation complete' \ No newline at end of file