3.1.1 Criteria

A rule is a collection of criteria that describes network packets. The available parameters are described as follows.

There are several ways to describe a network address:

In addition to criteria based on individual packets, iptables can also utilize criteria based on the interface (often translating to a NIC) that physically receives or transmit a packet:

A criterion can also specify “fragments”. A packet can be broken into fragments as it is transmitted over a network. This allows a certain rule to be associated only with either the first fragment of a packet, or all other fragments of a packet.

Note that each criteria can also accept negation specifications. For example, you can specify “source not from 76.25.62.44”, or “protocol other than icmp ”.