Ubuntu’s firewall (UFW)
Contents
Ubuntu’s firewall (UFW)#
What is UFW#
Links#
Details from
Why did I use it#
when a new vps was created, all ports were closed EXCEPT OpenSSH
later, when testing some docker stuff - for example during installing bookstackapp - all ports were closed and so, I had to open https as
sudo ufw allow https
OR
sudo ufw allow 443
To check which ports are open
sudo ufw status
allow firewall (ufw) to keep ssh ports open
ufw allow OpenSSH
main-step: enable firewall
ufw enable
Something goes wrong
sudo ufw reset