CentOS 6.X相关命令

  • CentOS6系统防火墙开启、关闭、查看状态

  1. 关闭防火墙-----service iptables stop 
  2. 启动防火墙-----service iptables start 
  3. 重启防火墙-----service iptables restart 
  4. 查看防火墙状态--service iptables status 
  5. 永久关闭防火墙--chkconfig iptables off 
  6. 永久关闭后启用--chkconfig iptables on
发布了13 篇原创文章 · 获赞 1 · 访问量 7807

猜你喜欢

转载自blog.csdn.net/weixin_40482816/article/details/101780498