Question
sudo ufw status return 'inactive'
Trying to set up Nginx in Ubuntu 16.04 following the tutorial given in https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-in-ubuntu-16-04 everyhting is fine but running the command
sudo ufw status
gives inactive.
What is wrong?
Thank you
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
After “sudo ufw default deny”, I could no longer ssh into my droplet. I went to the Digitalocean console, logged in, and entered “sudo ufw default allow”. Now I can ssh into my droplet again.
Now “ufw status” returns “Status: active” along with some other information. Go figure.
Thanks BuyDeal. You had me worried, but all’s well that ends well.