Lucid 下防火墙问题

阅读更多

     默认Lucid下是不开启防火墙的,可以用以下命令检测(我们需要在/etc/init.d/目录下面执行这些命令):

 

sudo ufw disable

     系统会提示下列信息:

 

防火墙在系统启动时自动禁用

     此时就表明我们的防火墙默认是不开启的,如果开启,我们可以使用命令:

 

sudo ufw enable

     下面是一些ufw的使用命令:

 

Commands:
 enable                               enables the firewall
 disable                              disables the firewall
 default ARG                      set default policy
 logging LEVEL                 set logging to LEVEL
 allow ARGS                      add allow rule
 deny ARGS                       add deny rule
 reject ARGS                      add reject rule
 limit ARGS                         add limit rule
 delete RULE|NUM           delete RULE
 insert NUM RULE             insert RULE at NUM
 reset                                    reset firewall
 status                                  show firewall status
 status numbered               show firewall status as numbered list of RULES
 status verbose                  show verbose firewall status
 show ARG                         show firewall report
 version                               display version information
 

你可能感兴趣的:(防火墙)