The KMyFirewall Handbook
IPTables usage
This chapter is a short reference for the iptables command line program. It explains the most important options. Some descriptions are adapted from the iptables manual page, which is a very good reference in its own right.
For a complete reference, see the iptables manual page.
Selecting the table
Each rule you add to a firewall is inserted or appended into an existing chain in one of the three tables: filter, nat or mangle. Which tables are available depends on your kernel configuration.
Look at the following command line:
iptables ‑t filter ‑A INPUT ‑‑source 192.168.0.1 ‑j DROP
The option ‑t tells iptables to add the rule to a chain in the named table. If no ‑t option is defined, the rule is inserted into the filter table, which is the default.