centos 6.5 关闭防火墙

  关闭防火墙分为临时关闭和永久关闭。临时关闭重启系统后恢复正常,永久关闭重启系统后仍然是关闭状态

  临时关闭与开启

service iptables stop
service iptables start

  永久关闭与开启

chkconfig iptables off
chkconfig iptables on
posted @ 2018-01-01 22:03  Shef  阅读(145)  评论(0)    收藏  举报