How To Install FirewallD on CentOS Stream 10

To install and configure FirewallD on CentOS Stream 10, follow the steps below:

Step 1 : Begin by updating your system to ensure all packages are up to date. Run the following command:

Step 2 : If FirewallD is not already installed, you can install it using:

Step 3 : Start the FirewallD service with the following command:

Step 4 : Enable FirewallD to start automatically on system boot:

Step 5 : Verify that FirewallD is running by checking its status:

Step 6 : Basic FirewallD Configuration

Allow HTTP and HTTPS traffic through the firewall by opening ports 80 and 443:

Congratulations! You have successfully installed and configured FirewallD on CentOS Stream 10.