Skip to content

Instantly share code, notes, and snippets.

@lisa
Created November 6, 2009 01:17
Show Gist options
  • Save lisa/227590 to your computer and use it in GitHub Desktop.
Save lisa/227590 to your computer and use it in GitHub Desktop.
MATCH EXTENSIONS
iptables can use extended packet matching modules. These are loaded in
two ways: implicitly, when -p or --protocol is specified, or with the
-m or --match options, followed by the matching module name; after
these, various extra command line options become available, depending
on the specific module. You can specify multiple extended match mod-
ules in one line, and you can use the -h or --help options after the
module has been specified to receive help specific to that module.
The following are included in the base package, and most of these can
be preceded by a ! to invert the sense of the match.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment