From 8c4f801e10be416e3eb45fa86f5e7535a157c4bc Mon Sep 17 00:00:00 2001 From: Jason Hee Date: Sun, 15 Aug 2021 22:52:17 +0800 Subject: [PATCH] Install UFW if it's not installed (#13) Resolves issue #10 --- setupLibrary.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setupLibrary.sh b/setupLibrary.sh index ec03e33..732e3a1 100644 --- a/setupLibrary.sh +++ b/setupLibrary.sh @@ -51,6 +51,7 @@ function changeSSHConfig() { # Setup the Uncomplicated Firewall function setupUfw() { + sudo apt-get install ufw sudo ufw allow OpenSSH yes y | sudo ufw enable }