Install the firewalld service

To install and enable firewalld on your RHEL for Edge host when the package is missing, you can use dnf to install the package and systemctl to enable and start the service. Optionally check for the package with rpm -q firewalld before you install.

Procedure
  1. Optional: Check for firewalld on your system by running the following command:

    $ rpm -q firewalld
  2. If the firewalld service is not installed, run the following command:

    $ sudo dnf install -y firewalld
  3. To start the firewall, run the following command:

    $ sudo systemctl enable firewalld --now