标签:关闭 运行 art iptables restart 启动 table res linu
重启网卡
service network restart
关闭防火墙
永久关闭防火墙(下次启动机器才起作用):
chkconfig iptables off
永久关闭防火墙(立即生效):
service iptables stop
启动防火墙
service iptables start
查看防火墙配置
iptables -L -n
两个命令同时运行,运行完成后查看防火墙关闭状态 :
service iptables status
标签:关闭 运行 art iptables restart 启动 table res linu
原文地址:http://www.cnblogs.com/poterliu/p/6686799.html