In Chapter 3, Securing Your Server with a Firewall - Part 1, we covered iptables and ufw, a user-friendly frontend for iptables. They've been around for years and they do work. However, in this chapter, we'll look at some newer technologies that can do the job more efficiently.
First, we'll look at nftables. We'll look at its structure, its commands, and its configuration. Then, we'll do the same for firewalld. In both cases, you'll get plenty of hands-on practice.
We will cover the following topics in this chapter:
- nftables – a more universal type of firewall system
- firewalld for Red Hat systems