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:
firewalldis a firewall management service, running as a daemon process on the system, hence the dfirewalldis a service, higher level stuff, its backend usesiptablesornftables- it has higher level concepts, like zones
what’s firewall-cmd:
firewalldcommand line client- it’s a tool to manage
firewalld’s high level stuff, likefirewall-cmd --list-all-zonesto show all zones - when
firewall-cmdis called, it basically translates high level stuff toiptables’s ornftables’s commands
what’s iptables:
- it’s a CLI tool, it configures the rules used for routing incoming and outgoing traffic