Let’s start the discussion about How to enable ufw in ubuntu in following methods.
enable ufw in Ubuntu
To enable ufw in ubuntu run the below command. Even the firewall regarding issues will get solved by running the below command.
sudo ufw enable
How to allow port in ufw.
To Allow a port in ufw run :
sudo ufw allow http sudo ufw allow 80
I hope the strategies listed above work for you. Happy coding and come back again.
Similar Post : sudo ufw status Status return inactive