DEV Community

Asep Septiadi
Asep Septiadi

Posted on

Show List UFW Status Service Active

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

Top comments (0)