4、连接服务器后,输入语句‘service iptables status’,回车,会显示防火墙状态;
5、输入语句‘chkconfig iptables on’,可以开启防火墙。或者使用语句‘chkconfig iptables off’,关闭防火墙,需要重启后生效。
推荐学习Linux视频教程:https://www.php.cn/course/list/33.html
以上就是linux怎么查看防火墙是否关闭了的详细内容,更多文章请关注木庄网络博客!
相关阅读 >>
Linux与windows下如何安装imagemagick及其php imagick扩展
更多相关阅读请进入《Linux》频道 >>