(2024.1) Configure the Firewall
Enable and start firewalld
systemctl enable firewalld systemctl start firewalld
Allow SSH (22)
firewall-cmd --zone=public --add-service=ssh --permanent
Allow http (80)
firewall-cmd --zone=public --add-service=http --permanent
Allow https (443)
Allow smtp (25)
Optionally allow MySQL
Reload the firewall configuration