Add services to open ports

To open default ports for predefined services through firewalld on your MicroShift instance, you can use the firewall-cmd command. Add each service with the --add-service option.

Procedure
  1. Optional: You can view all predefined services in firewalld by running the following command

    $ sudo firewall-cmd --get-services
  2. To open a service that you want on a default port, run the following example command:

    $ sudo firewall-cmd --add-service=mdns