How to Disable Firewall on Red Hat Enterprise Linux, Centos
Red Hat Enterprise’s firewall uses iptables, like other Linux distributions such as CentOS, Debian, SUSE, and Ubuntu. To enable or disable the firewall in Red Hat Enterprise Linux, use a System V init script or an administration tool. Enabling or disabling the firewall in Red Hat Linux
- Use an administration tool. Red Hat provides commands for enabling and disabling the firewall through a GUI or TUI. These tools also include options for enabling or disabling SELinux. Run:
system-config-securitylevel //สำหรับโหมด GUI
system-config-securitylevel-tui //สำหรับโหมด TUI
- Use a System V init script. This takes effect immediately when the command runs.
service iptables start // เปิดให้ iptables ทำงาน
service iptables stop // ปิดการใช้งาน iptables
- Update the system service runlevels. This takes effect after changing runlevels or rebooting.