Question: While firewalld is not the most 'enterprise - grade' or widely used firewall in the Linux realm, it is the default and generally the only

While firewalld is not the most 'enterprise-grade' or widely used firewall in the Linux realm, it is the default and generally the only deployed firewall for most Linux installations...at least until the admins or users switch to something better. For that reason, and because you need to have familiarity with firewalld, we will be completing a few exercises dealing with our firewalld installation in our Rocky 8 virtual machine. A small disclaimer, editing the firewalld settings incorrectly can and will render your vm unreachable on the network and unable to reach out to the Internet. In short, let's make sure we follow the directions and ALWAYS HAVE A BACKUP of configuration files. A rule to live by in Linux administration.
Complete the following steps, capturing a screenshot package with the TealVirt option when necessary, then uploading your screenshot PDFs to Moodle for grading.
Check the status of firewalld on your Rocky 8 machine. Let's make sure it's running. If not, start the service.
On Rocky 8, nftables serves as the 'firewall backend' to firewalld. To see if that is the case on your VM, we'll need to view the contents of the /etc/firewalld/firewalld.conf file. There should be an entry near the bottom directing the 'FirewallBackend' to be either 'nftables' or 'iptables'. Near the top of that same document, you'll see the 'DefaultZone' directive specifying 'public'. If those directives aren't set to the specifications (nftables and public respectively), please change them and reload the firewalld service.
To view the current firewalld active zones, enter the command 'firewall-cmd --list-all'. This will list the public (active) zone and its configuration. Capture a screenshot package of this output. This will be screenshot #1 for this assignment.
Permanently add the service for https to the public zone. Capture a screenshot of the command you are entering before you press ENTER. This will be screenshot #2 of this assignment. Don't forget, since this was a permanent configuration, to reload the firewall rules with 'firewall-cmd --reload'.
We also need to allow RDP in and out of our machine through our firewall, but only for our current session. Add, not permanently, the port for RDP to the public zone. Capture a screenshot packages of the command you are entering before you press ENTER. This will be screenshot #3 of this assignment. When finished capturing the screenshot of the command, list the configuration for the default public zone to ensure your changes are active.
Upload your 3 PDF screenshot packages to Moodle for grading. If you have any trouble, please let me know as soon as you can.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!