< All Cheat Sheets

Cheat Sheet: iptables

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.

iptables cheat sheet

Playground

Use BashSenpai to generate a command from a text prompt:

sudo iptables -A INPUT -s 187.38.111.23 -j DROP

Download

Enter your email address and we'll happily send you a download link. The cheat sheet is available in PDF and PNG formats, light and dark.

Download
Download