2020
09-23
09-23
linux防火墙状态查看的方法实例
linux防火墙状态查看的方法1、基本操作#查看防火墙状态serviceiptablesstatus#停止防火墙serviceiptablesstop#启动防火墙serviceiptablesstart#重启防火墙serviceiptablesrestart#永久关闭防火墙chkconfigiptablesoff#永久关闭后重启chkconfigiptableson2、开启80端口vim/etc/sysconfig/iptables#加入如下代码-AINPUT-mstate--stateNEW-mtcp-ptcp--dport80-jACCEPT保存退出后重启防火墙servicei...
继续阅读 >