From the course: Complete Guide to Linux Security: Protecting Your Linux Server Environment

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

firewalld introduction

firewalld introduction

- Let's get into a brief introduction of firewalld. Firewalld is developed by Red Hat. It's designed for Fedora, Red Hat Enterprise Linux, and CentOS, and it's installed on them by default. Firewalld is a front end for the Netfilter framework via nftables in Linux, and we'll talk about all that more in the nftables lesson. But firewalld acts as an alternative to using the nft user space command. It's recommended for workstations and it can work well for servers. But for servers and for firewalling entire networks, it's recommended that you use nftables. You can install firewalld to Debian and Ubuntu systems as well, and I often do. I'll usually pick firewalld over UFW as a front-end tool, but it may behave slightly different on Debian and Ubuntu. I mentioned this because I'll be using CentOS for the lab. So here's some commands for firewalld, and here we have systemctl status on firewalld. That checks the status of the service. We've already shown this. And then when you start working…

Contents