随手记
chkconfig iptables on #永久开启防火墙
chkconfig iptables off #永久关闭防火墙
service iptables stop/start/restart #防火墙临时关闭开启重启
telnet 127.0.0.1 80 #检查本机80端口是否开启
转载于:https://blog.51cto.com/jinliang/1588369
随手记
chkconfig iptables on #永久开启防火墙
chkconfig iptables off #永久关闭防火墙
service iptables stop/start/restart #防火墙临时关闭开启重启
telnet 127.0.0.1 80 #检查本机80端口是否开启
转载于:https://blog.51cto.com/jinliang/1588369