From the course: Linux Tips

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Firewalls: firewalld

Firewalls: firewalld - Linux Tutorial

From the course: Linux Tips

Firewalls: firewalld

- [Instructor] Firewalld is the firewall software that protects systems running Red Hat Enterprise Linux, CentOS, and Fedora. It provides interfaces for our software to configure it, and we can also configure it manually from the command line. To do this, we'll use the firewall-cmd utility, and I'd like to take a few minutes in this episode to show you the basics of working with that command and with its various options that control how it works. The first one I'll show you here on my Fedora system is firewall-cmd --state, which will tell us if the firewall is running, meaning that it's actively looking at incoming traffic and deciding what to allow through, or not running, meaning that it's not controlling access and any service running on the system with an open port can be accessed by anyone on the network. If yours isn't running, you can start it with systemctl start firewalld, and make sure it's automatically started at…

Contents