Query the firewall status: [root@localhost ~]# service iptables status

Stop firewall: [root@localhost ~]# service iptables stop

[root@localhost ~]# service iptables start

[root@localhost ~]# service iptables restart

Permanently disable firewall: [root@localhost ~]# chkconfig iptables off

Permanently disabled: [root@localhost ~]# chkconfig iptables on