๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout 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

Systemd Timer
A systemd unit that triggers services on a schedule or at specific events, serving as a modern alternative to cron jobs.
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.
Cgroup
A Linux kernel feature that limits, accounts for, and isolates resource usage of process groups.
Awk
A powerful text processing language for extracting and manipulating structured data from files or command output.
Grep
A command-line utility for searching plain-text data for lines matching a regular expression pattern.
Chroot
A mechanism that changes the apparent root directory for a process and its children, creating an isolated filesystem view.
View All Linux Terms โ†’