From
http://hi.baidu.com/leonkuo1984/blog/item/4fe1170e1f285cec37d122ca.html
http://www.kklinux.com/html/Love-Linux/Fedora/200808/08-229.html
http://www.cyberciti.biz/faq/disable-linux-firewall-under-centos-rhel-fedora/
http://www.cyberciti.biz/faq/turn-on-turn-off-firewall-in-linux/
Disable FireWall
[1] It's unnecessarry to enable FireWall because it's enable on the Routers, so Change it to disabled.
[root@ns ~]# /etc/rc.d/init.d/iptables stop |
Disable SELinux
[2] | Change to disabled SELinux (Security-Enhanced Linux). |
[root@ns ~]# vi /etc/sysconfig/selinux # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: #
enforcing - SELinux security policy is enforced.
#
permissive - SELinux prints warnings instead of enforcing.
#
disabled - SELinux is fully disabled.
SELINUX= disabled / change # SELINUXTYPE= type of policy in use. Possible values are: #
targeted - Only targeted network daemons are protected.
#
strict - Full SELinux protection.
SELINUXTYPE=targeted |