Pregunta:
He seguido los pasos a continuación para deshabilitar el firewall en Linux. Después de reiniciar, se habilita nuevamente el firewall. ¿Cómo deshabilitar el firewall de forma permanente?
-
Inicie sesión como usuario root.
-
Luego ingrese los siguientes tres comandos para deshabilitar el firewall.
service iptables save service iptables stop chkconfig iptables off
-
Desactive el cortafuegos IPv6.
service ip6tables save service ip6tables stop chkconfig ip6tables off
Respuesta:
Para la versión 7 de CentOS o RedHat Enterprise, debe usar el comando systemctl.
Por ejemplo:
#Check status:
systemctl status firewalld
#Stop firewall:
systemctl stop firewalld
#Disable firewall:
systemctl disable firewalld
Extraído de: http://www.sysadmit.com/2016/12/linux-deshabilitar-firewall-redhat-centos.html