From 4899ca6e2d2f74a6a4c3ad528aee8d42e241d110 Mon Sep 17 00:00:00 2001 From: micutu Date: Wed, 28 Aug 2024 18:11:50 +0000 Subject: [PATCH] Update install.sh --- install.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 7120328..09940f3 100644 --- a/install.sh +++ b/install.sh @@ -23,4 +23,14 @@ echo '///---End update system ---///' # Install OpenSSH echo '///---Start install OPenssh ---///' sudo apt-get install openssh-server -y -echo '///---End install OpenSSH ---///' \ No newline at end of file +echo '///---End install OpenSSH ---///' + +# Enable Firewall +echo '///---Enable firewall start ---///' +sudo ufw enable +echo '///---Enable firewall End ---///' + +# configure the firewall +echo '///---Enable open SSH on firewall ---///' +sudo ufw allow OpenSSH +echo '///---Done ---///' \ No newline at end of file