Install UFW if it's not installed (#13)

Resolves issue #10
This commit is contained in:
Jason Hee authored and GitHub committed 2021-08-15 22:52:17 +08:00
1 parent 153087929c
commit 8c4f801e10
1 file changed
+1
+1
View File
@@ -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
}