Forrest logo
back to the firewall-cmd tool

firewall-cmd:tldr:8b46a

firewall-cmd: Reload firewalld to force rule changes to take effect.
$ firewall-cmd --reload
try on your machine

The firewall-cmd --reload command is used to reload the firewall configuration and apply any changes that have been made to it.

When this command is executed, it updates the currently active firewall rules with the changes specified in the configuration files. This can include adding or removing firewall rules, modifying existing rules, or adjusting any other configuration options related to the firewall.

Reloading the firewall configuration ensures that the firewall is up to date and operating according to the latest rules. This is particularly useful when changes have been made to the firewall configuration files and need to be implemented without restarting the entire firewall service.

It's important to note that this command requires administrative privileges.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the firewall-cmd tool