summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_TPROXY.man
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libxt_TPROXY.man')
-rw-r--r--extensions/libxt_TPROXY.man10
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/libxt_TPROXY.man b/extensions/libxt_TPROXY.man
index f17848c4..c087ebf0 100644
--- a/extensions/libxt_TPROXY.man
+++ b/extensions/libxt_TPROXY.man
@@ -5,17 +5,17 @@ any way. It can also change the mark value which can then be used in advanced
routing rules.
It takes three options:
.TP
-\fB--on-port\fR \fIport\fR
+\fB\-\-on\-port\fP \fIport\fP
This specifies a destination port to use. It is a required option, 0 means the
new destination port is the same as the original. This is only valid if the
-rule also specifies \fB-p tcp\fR or \fB-p udp\fR.
+rule also specifies \fB\-p tcp\fP or \fB\-p udp\fP.
.TP
-\fB--on-ip\fR \fIaddress\fR
+\fB\-\-on\-ip\fP \fIaddress\fP
This specifies a destination address to use. By default the address is the IP
address of the incoming interface. This is only valid if the rule also
-specifies \fB-p tcp\fR or \fR-p udp\fR.
+specifies \fB\-p tcp\fP or \fP\-p udp\fP.
.TP
-\fB--tproxy-mark\fR \fIvalue\fR[\fB/\fR\fImask\fR]
+\fB\-\-tproxy\-mark\fP \fIvalue\fP[\fB/\fP\fImask\fP]
Marks packets with the given value/mask. The fwmark value set here can be used
by advanced routing. (Required for transparent proxying to work: otherwise
these packets will get forwarded, which is probably not what you want.)