Configure the firewalld
ports to allow approved services to have access to the system.
To configure firewalld
to open ports, run the following command:
firewall-cmd --permanent --add-port=port_number/tcp
To configure firewalld
to allow access for pre-defined services, run the following
command:
firewall-cmd --permanent --add-service=service_name