path: root/iptables/
diff options
authorJan Engelhardt <>2012-09-28 10:43:06 +0200
committerJan Engelhardt <>2012-09-30 11:32:49 +0200
commit4496801821c01e3934996b40e0012ddcb969a8df (patch)
tree13a995dd5d3f54121635efaf037b84cf5e8d0776 /iptables/
parent9517bbf5b805df874dcc452dfeb2cc36a7bf1500 (diff)
doc: deduplicate extension descriptions into a new manpage
iptables.8 and ip6tables.8 had pretty much the same content, with a few protocol-specific deviations here and there. Not only did that bloat the manpages, but it also made it harder to spot differences. Separate out the extension descriptions into a new manpage, which conveniently features differences next to one another (cf. REJECT). Signed-off-by: Jan Engelhardt <>
Diffstat (limited to 'iptables/')
1 files changed, 27 insertions, 0 deletions
diff --git a/iptables/ b/iptables/
new file mode 100644
index 00000000..e02c81fb
--- /dev/null
+++ b/iptables/
@@ -0,0 +1,27 @@
+.TH iptables-extensions 8 "" "@PACKAGE_AND_VERSION@" "@PACKAGE_AND_VERSION@"
+iptables-extensions \(em list of extensions in the standard iptables distribution
+\fBip6tables\fP [\fB\-m\fP \fIname\fP [\fImodule-options\fP...]]
+[\fB\-j\fP \fItarget-name\fP [\fItarget-options\fP...]
+\fBiptables\fP [\fB\-m\fP \fIname\fP [\fImodule-options\fP...]]
+[\fB\-j\fP \fItarget-name\fP [\fItarget-options\fP...]
+iptables can use extended packet matching modules
+with the \fB\-m\fP or \fB\-\-match\fP
+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 modules in one line,
+and you can use the \fB\-h\fP or \fB\-\-help\fP
+options after the module has been specified to receive help specific
+to that module.
+If the \fB\-p\fP or \fB\-\-protocol\fP was specified and if and only if an
+unknown option is encountered, iptables will try load a match module of the
+same name as the protocol, to try making the option available.
+.\" @MATCH@
+iptables can use extended target modules: the following are included
+in the standard distribution.
+.\" @TARGET@