firewall and iptables

tags: learning networking linux diff-between

content

what’s firewall:

  • it’s a network security system that routes incoming and outgoing traffics based on a set of configurable rules
  • it’s a very broad term, it could be hardware, could be software

what’s firewalld:

  • firewalld is a firewall management service, running as a daemon process on the system, hence the d
  • firewalld is a service, higher level stuff, its backend uses iptables or nftables
  • it has higher level concepts, like zones

what’s firewall-cmd:

  • firewalld command line client
  • it’s a tool to manage firewalld’s high level stuff, like firewall-cmd --list-all-zones to show all zones
  • when firewall-cmd is called, it basically translates high level stuff to iptables’s or nftables’s commands

what’s iptables:

  • it’s a CLI tool, it configures the rules used for routing incoming and outgoing traffic

up

iptables-basics

down

reference