歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> 更多Linux >> 取消redhat7.1安裝時的默認防火牆規則

取消redhat7.1安裝時的默認防火牆規則

日期:2017/2/27 14:27:28   编辑:更多Linux
  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   這樣就會取消防火牆規則,用戶重新啟動以後也不會有防火牆規則定義。




Copyright © Linux教程網 All Rights Reserved