🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Linux Advanced

What is Iptables?

The traditional Linux firewall tool that filters network packets using configurable chains of rules organized in tables.

Iptables controls network traffic by processing packets through chains of rules in the filter, nat, mangle, and raw tables. The filter table (INPUT, FORWARD, OUTPUT chains) handles packet filtering. The nat table manages Network Address Translation for routing. Rules specify match criteria (source/destination IP, port, protocol) and targets (ACCEPT, DROP, REJECT, LOG). Iptables processes rules sequentially — the first matching rule wins. While being replaced by nftables on modern systems, iptables remains widely used and is the foundation for Docker networking and Kubernetes kube-proxy. The ip6tables variant handles IPv6 traffic.

Related Terms

Linux Kernel Module
A piece of code that can be loaded into the kernel at runtime to extend functionality without rebooting, such as device drivers and filesystems.
Package Manager
A tool that automates the process of installing, updating, configuring, and removing software packages.
Firewalld
A dynamic firewall management tool for Linux that provides a D-Bus interface for managing firewall rules with zones.
Disk Quota
A system for limiting the amount of disk space or number of files that individual users or groups can consume on a filesystem.
Systemctl
The primary command for managing systemd services, including starting, stopping, enabling, and checking service status.
Crontab Syntax
The time specification format used in cron job scheduling, with five fields defining minute, hour, day of month, month, and day of week.
View All Linux Terms →