Chapter 23

Configuring a Firewall

The following topics are covered in this chapter:

The following RHCSA exam objective is covered in this chapter:

  • Configure firewall settings using firewall-cmd/firewalld

If a server is connected to the Internet, it needs to be protected against unauthorized access. SELinux is one part of this protection, as discussed in Chapter 22, “Managing SELinux,” and a firewall is the second part. The Linux kernel implements firewalling via the netfilter framework. To configure which packets are allowed and which are not, Firewalld is the default solution in RHEL 9. In this chapter, you learn how a basic Firewalld configuration is created in an RHEL 9 environment. ...

Get Red Hat RHCSA 9 Cert Guide: EX200 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.