Show ufw rules, along with their numbers

ufw

  • Uncomplicated Firewall.
    Frontend for iptables aiming to make configuration of a firewall easier.
    More information: <https://wiki.ubuntu.com/UncomplicatedFirewall>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

ufw status numbered

click the source code to copy install ufw on any operating system with command-not-found.com