Para deshabilitar SElinux
vi /etc/selinux/config
# 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 - No SELinux policy is loaded. SELINUX=disabled # SELINUXTYPE= can take one of these two values: # targeted - Targeted processes are protected, # mls - Multi Level Security protection. SELINUXTYPE=targeted
Nos aseguramos que está deshabilitado
sestatus
Para deterner el firewaall
service iptables stop
y que no vuelva a arrancar
chkconfig iptables off
reboot
Para asegurarnos que el firewall no funciona
iptables -L
Enlaces relacionados: http://www.cyberciti.biz/faq/fedora-redhat-centos-5-6-disable-firewall/
Tutorial iptables: http://wiki.centos.org/HowTos/Network/IPTables
Referencia rápida iptables: http://elbauldelprogramador.com/internet/20-ejemplos-de-iptables-para-sysadmins/#more-314
Enlaces relacionados:
chkconfig: http://www.thegeekstuff.com/2011/06/chkconfig-examples/