首页 > 其他分享 >sudo ufw status输出status:inactive解决方法

sudo ufw status输出status:inactive解决方法

时间:2022-10-31 18:55:31浏览次数:55  
标签:status ALLOW sudo inactive Nginx Anywhere v6

先运行:sudo ufw enable

输出:Command may disrupt existing ssh connections. Proceed with operation (y|n)?y

Firewall is active and enabled on system startup

再运行:sudo ufw status(即可正确查看)

输出:

Status: active

 

To                         Action      From

--                         ------      ----

Nginx                      ALLOW       Anywhere                  

Nginx HTTP                 ALLOW       Anywhere                  

Nginx HTTPS                ALLOW       Anywhere                  

Nginx Full                 ALLOW       Anywhere                  

Nginx (v6)                 ALLOW       Anywhere (v6)             

Nginx HTTP (v6)            ALLOW       Anywhere (v6)             

Nginx HTTPS (v6)           ALLOW       Anywhere (v6)             

Nginx Full (v6)            ALLOW       Anywhere (v6)

标签:status,ALLOW,sudo,inactive,Nginx,Anywhere,v6
From: https://www.cnblogs.com/eisenshu/p/16845365.html

相关文章