Skip to main content

FirewallD

Introduction

FirewallD is frontend controller for iptables used to implement persistent network traffic rules. It provides command line and graphical interfaces and is available in the repositories of most Linux distributions. Working with FirewallD has two main differences compared to directly controlling iptables:

  1. FirewallD uses zones and services instead of chain and rules.
  2. It manages rulesets dynamically, allowing updates without breaking existing sessions and connections.

FirewallD is a wrapper for iptables to allow easier management of iptables rules–it is not an iptables replacement. While iptables commands are still available to FirewallD, it’s recommended to use only FirewallD commands with FirewallD.

Tutorials
How to set up a firewall using FirewallD on CentOS 8 Introduction to FirewallD on CentOS How to Configure ‘FirewallD’ in RHEL/CentOS 7 and Fedora 21 How to Open Port for a Specific IP Address in Firewalld