防火墙查看 linux
- IT科技
- 关注:2.95W次
linux 防火墙查看方法如下:
1、使用工具,链接Linux系统。
3、连接服务器后,输入语句“service iptables status”,回车,会显示防火墙状态。
4、输入语句“chkconfig iptables on”,可以开启防火墙。或者使用语句“chkconfig iptables off”,关闭防火墙,需要重启后生效。
5、如果想要即可生效,可以使用语句“service iptables start”开启防火墙,或者语句“service iptables stop”关闭,关闭或者开启防火墙后,查询防火墙状态,可以看到相应的变化。
- 文章版权属于文章作者所有,转载请注明 https://shqsg.com/zh-my/dianzi/59o803.html