Linux Commands Helper

💬 Your AI-powered Linux assistant

firewalld Command - Dynamic Firewall Manager

The firewalld command is used to manage firewall rules dynamically. It provides a D-Bus interface and command-line tools to configure and manage firewall zones, services, and rules on Linux systems.

Syntax

firewalld [options]

Examples

firewall-cmd --state

Check if firewalld is running.

firewall-cmd --zone=public --add-port=80/tcp --permanent

Permanently allow TCP port 80 in the public zone.

firewall-cmd --reload

Reload firewalld to apply changes.

Notes

  • firewalld uses zones to manage different trust levels for network connections.
  • It is a dynamic alternative to static tools like iptables and nft.
  • firewalld is the default firewall manager on many modern Linux distributions.

© 2025 Linux Commands Helper. All rights reserved.

This project is under construction. Feedback and contributions are welcome.

Fazier badgeFeatured on Startup Fame