Désactiver le Firewall
# systemctl stop firewalldDésactiver SELINUX
# systemctl disable firewalld
rm '/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service'
rm '/etc/systemd/system/basic.target.wants/firewalld.service'
éditer : /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
# change
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
Redémarrer la machine:
# rebootConclusion : Par rapport à CentOS 6
- SELINUX, on ne change rien par contre
- IPTABLES devient FIREWALLD
Aucun commentaire:
Enregistrer un commentaire