Ufw output

kristen3262

New Member
Joined
Jun 12, 2024
Messages
1
Reaction score
0
Credits
11
Is there any possible way that the command sudo ufw status numbered would output enabled?
I keep getting the word enabled as output and this can't be right.
 


 
Is there any possible way that the command sudo ufw status numbered would output enabled?
I keep getting the word enabled as output and this can't be right.

It's bad form to ask the same question at multiple places at the same time. We have no way to compare or contrast the answers and you're wasting our time - or their time.

Don't do that, thanks.
 
This shows the firewall is active or enabled...simple.
1718240680578.gif
 
If you check the help(ufw --help), you will see this listed in there.
Code:
status numbered                 show firewall status as numbered list of RULES
So all you have to do is run the following command.
Code:
sudo ufw status numbered
That would give output something like this.
Code:
tux@ubuntu:~$ sudo ufw status numbered
Status: active

     To                         Action      From
     --                         ------      ----
[ 1] 80/tcp                     ALLOW IN    Anywhere
[ 2] 80/tcp (v6)                ALLOW IN    Anywhere (v6)
 

Staff online

Members online


Top