Managing the Firewall on RHEL 8

15 minutes
  • 2 Learning Objectives

About this Hands-on Lab

A key part of Linux security is the firewall, so it’s important that system administrators understand how to configure, and use it. In this hands-on lab, we will configure firewall settings using firewall-cmd/firewalld on RHEL 8.

*This course is not approved or sponsored by Red Hat.*

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Configure Web Server Settings
  1. Check if Web Services are installed.
  2. Install and configure persistency of the httpd package.
  3. Customize the index.html file and test local access.
  4. Test external browser access to the test page.
Configure the Firewall and Restrict Network Access Using `firewall-cmd/firewalld`
  1. Test for firewalld installation.
  2. Install firewalld and set it’s persistency.
  3. identify and fix a security issue.
  4. Test external browser access.
  5. Configure rules to allow external browser requests and confirm access.

Additional Resources

In this hands-on lab, you're a sysadmin who is just installing a test web server on one of your systems, and configuring it so that local and remote users can view the test page. You then realize that the system, and the web server, should have a firewall to protect it from attacks.

You'll install the firewall, identify and fix a security issue that can occur, and then notice that your remote system cannot view the test server page anymore.

You'll then add the appropriate firewalld rules to allow HTTP and HTTPS access from remote systems to the test web server system. All of the services and configuration will have to be persistent, so that when the systems are rebooted, or crash and recover, all the proper services are running.

Red Hat Exam Requirements Covered:

  • Configure firewall settings using firewall-cmd/firewalld
  • Restrict network access using firewall-cmd/firewalld

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?