this is a extra element for clear the floated element
取消redhat7.1安装时的默认防火墙规则
  • 12/31
  • 2008
iptables | Linux 3049 次查看
  Redhat7.1系统在安装时会让用户选择防火墙安全级别, 用户选定以后就会定义一些防火

  墙规则,而用户随后在使用时往往出现不能访问某个服务的情况。 取消redhat7.1的默认防火

  墙规则的方法如下:

  /etc/rc.d/init.d/ipchains stop

  /etc/rc.d/init.d/iptables stop

  chkconfig --level 35 ipchains off

  chkconfig --level 35 iptables off

  这样就会取消防火墙规则,用户重新启动以后也不会有防火墙规则定义。