andrej
andrej

Reputation: 587

status of a service on ubuntu

When I (on ubuntu) execute the the next commands I get status (written here as comment) that for first command ufw is running, and for the second command the ufw is inactive. How can I interpret that, is it the ufw running or not ?

service ufw status
# ufw start/running

ufw status verbose
# Status: inactive

Thank you

Upvotes: 0

Views: 7179

Answers (1)

techtabu
techtabu

Reputation: 26947

I think, just because the service is running, it does not mean ufw is enabled. To answer your question, ufw is not running. You cannot use it configure rules. To use ufw, enable it first using,

sudo ufw enable

And then check with,

sudo ufw status verbose

Upvotes: 1

Related Questions