Show List UFW Status Service Active

Asep Septiadi - Nov 10 '23 - - Dev Community
servex@aspsptyd:~$ sudo ufw status
Status: inactive
servex@aspsptyd:~$ sudo ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup
servex@aspsptyd:~$ sudo ufw status
Status: active

To                         Action      From
--                         ------      ----
Nginx HTTP                 ALLOW       Anywhere                  
Nginx HTTP (v6)            ALLOW       Anywhere (v6)  
Enter fullscreen mode Exit fullscreen mode
. . . . . . . . . . . . . . . . . . . . . . . . . .