I just installed Ubuntu 20.04 and found that the firewall is inactive.


sudo ufw status verbose


Status: inactive
  • What is verbose and ufw ?
  • Why is it not activated by default?
  • What will it do when i activate it (how does it work basically)?

1 Answer 1


man ufw will tell you what the ufw command is, and what it does, in the same way that the manual system does for most other programs.

That manual page also explains what the status option to ufw does. It doesn't say explicitly what the "verbose" output gives you, but I expect it will give more information than "status" would do by default otherwise, to help with diagnostics.

You should check whether the firewall is running (eg, using ps) and/or whether it is enabled or disabled in its configuration. You may need to edit the configuration, and enable the firewall (perhaps using systemd) to make it run automatically.

  • You can improve your answer by including the relevant information from the man page. May 28, 2020 at 12:37
  • I would say that the rather general nature of the original question means that Read The Fine Manual, without quoting specifics from the manual, is the appropriate answer?
    – dave559
    Jun 3, 2020 at 14:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.