path: root/extensions
diff options
authorJan Engelhardt <>2010-03-16 20:28:30 +0100
committerJan Engelhardt <>2010-04-06 12:50:36 +0200
commitc9be7f153f7bf112640057a0cb6108b686041029 (patch)
tree82ae9055e5f7decd2603c9b815cce257cacc66d1 /extensions
parent21d1283750d9c4df7ca80165d2b9dc0b9bd214eb (diff)
doc: libxt_MARK: no longer restricted to mangle table
MARK used to be limited to the mangle table, but there was no real restriction. References: Signed-off-by: Jan Engelhardt <>
Diffstat (limited to 'extensions')
1 files changed, 4 insertions, 3 deletions
diff --git a/extensions/ b/extensions/
index 98be812b..aaeceb4a 100644
--- a/extensions/
+++ b/extensions/
@@ -1,7 +1,8 @@
This target is used to set the Netfilter mark value associated with the packet.
-The target can only be used in the \fBmangle\fR table. It can, for example, be
-used in conjunction with routing based on fwmark (needs iproute2). The mark
-field is 32 bits wide.
+It can, for example, be used in conjunction with routing based on fwmark (needs
+iproute2). If you plan on doing so, note that the mark needs to be set in the
+PREROUTING chain of the mangle table to affect routing.
+The mark field is 32 bits wide.
\fB\-\-set\-xmark\fP \fIvalue\fP[\fB/\fP\fImask\fP]
Zeroes out the bits given by \fImask\fR and XORs \fIvalue\fR into the packet