Firewall && selinux abierta temporal y permanente y cerrada

Un cortafuegos (iptables)
estatus temporal Ver / Abrir / Cerrar
Servicio iptables Estado
servicio iptables Start
servicio iptables PARADA
estatus permanente Ver / Abrir / Cerrar
chkconfig iptables --list
chkconfig iptables OFF
iptables chkconfig EN
Nota: Después de ajustar el reinicio (reinicio) a inicio
dos, iptables
visualización temporal, cerrado
getenforce
la setenforce 0
permanentemente cerrados
sed -i 'ejecutante S # # # discapacitados G' / etc / selinux / config
reinicio en vigor

Supongo que te gusta

Origin blog.51cto.com/14480044/2477194
Recomendado
Clasificación