The iptables command is a user-space utility program that allows a system administrator to configure the IP packet filter rules of the Linux kernel firewall, used for packet filtering, NAT, and packet mangling.