In this blog post, we are going to explain 10 useful firewall-cmd commands in Linux with real examples.
The firewall-cmd is the command-line client used to manage the runtime configurations. It is a firewall solution as an alternative to the iptables service. We know that a properly configured firewall is the only weapon that can defend the server from attacks caused by internal influences. The firewall-cmd is part of the firewalld application that can be used for managing the firewall.
In this blog post, we are going to use Ubuntu 22.04 as Linux OS. You can use any Linux distribution. Let’s get started!