Skip to content
KMyFirewall
Release 1.1.1 Download

The KMyFirewall Handbook

Defining options

To filter and manipulate packets, you define which properties a packet must have. This is done with option names such as ‑‑source and the value that should match.

IPTables defines many options. Some are implemented directly in the iptables program, such as the source option. Other options are more complex and need kernel modules to be loaded. Those options are written like this:

... ‑‑match state ‑‑state RELATED,ESTABLISHED ...

The ‑‑match state option asks the program to look for an available match called state, which is provided by the connection tracking module.

The availability of extended options depends on kernel configuration and the modules that can be loaded or are compiled into the kernel.

For a detailed description of the options available from within this program, see the chapter on filtering and manipulation of packets.

Back to top