UFW is disabled every time I ssh into the server.

October 8, 2016 62 views
Server Optimization Linux Basics Firewall Ubuntu 16.04


every time I login to my server I get this message:

"ufw" has not been enabled, however it has been configured. To enable it,
run "ufw enable".

If I run ufw status I get Status: active.

When I run ufw enable I get Firewall is active and enabled on system startup. However if I exit out and log back in I get the previous message again.

How can I fix this?

Be the first one to answer this question.