Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing)
New profiles: skip

To                         Action      From
--                         ------      ----
22                         ALLOW IN    Anywhere
80                         ALLOW IN    Anywhere
443                        ALLOW IN    Anywhere

There is much more to ufw but the above steps should get you going.

...

Here are some more useful ufw commands,
 

Code Block
languagebash
sudo ufw deny 443 # Disables and leave the entry in the status. Useful to a port you leave on and off sometimes.

...


sudo ufw delete 443 # Actually delete the firewall rule entry.

Article Improvements

Warning

This article can be improved in the following areas.

...