mirror of
https://github.com/darksaid98/ubuntu-server-setup.git
synced 2026-12-03 06:28:58 +00:00
1 parent
153087929c
commit
8c4f801e10
1 file changed
+1
@@ -51,6 +51,7 @@ function changeSSHConfig() {
|
|||||||
|
|
||||||
# Setup the Uncomplicated Firewall
|
# Setup the Uncomplicated Firewall
|
||||||
function setupUfw() {
|
function setupUfw() {
|
||||||
|
sudo apt-get install ufw
|
||||||
sudo ufw allow OpenSSH
|
sudo ufw allow OpenSSH
|
||||||
yes y | sudo ufw enable
|
yes y | sudo ufw enable
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user