Firewall installation

Centos 7 minimal does not have a firewall installed by default.

Install it with the command:

root$

yum install firewalld

Enable and start the firewall

Now enable the firewall during the boot process and start it now.

root$

systemctl enable firewalld

root$

systemctl start firewalld

Aliases - Nachrichten umleiten

Um eine Änderung der Datei /etc/aliases anzuwenden, muss folgender Befehl eingegeben werden:

newaliases

Remove unused services e.g. dhcpv6-client

root$

firewall-cmd --permanent --zone=public --remove-service=dhcpv6-client

Kommentare

Bitte rechnen Sie 2 plus 1.