Unless as part of a range, service names may be used. Point this out to avoid confusion. Signed-off-by: Phil Sutter <phil@xxxxxx> --- extensions/libxt_DNAT.man | 2 ++ extensions/libxt_REDIRECT.man | 1 + 2 files changed, 3 insertions(+) diff --git a/extensions/libxt_DNAT.man b/extensions/libxt_DNAT.man index e044c8216fc09..12d334af5a479 100644 --- a/extensions/libxt_DNAT.man +++ b/extensions/libxt_DNAT.man @@ -21,6 +21,8 @@ will be modified. If \fBbaseport\fP is given, the difference of the original destination port and its value is used as offset into the mapping port range. This allows to create shifted portmap ranges and is available since kernel version 4.18. +For a single port or \fIbaseport\fP, a service name as listed in +\fB/etc/services\fP may be used. .TP \fB\-\-random\fP If option diff --git a/extensions/libxt_REDIRECT.man b/extensions/libxt_REDIRECT.man index 28d4d10b79046..10305597f87a3 100644 --- a/extensions/libxt_REDIRECT.man +++ b/extensions/libxt_REDIRECT.man @@ -16,6 +16,7 @@ This specifies a destination port or range of ports to use: without this, the destination port is never altered. This is only valid if the rule also specifies one of the following protocols: \fBtcp\fP, \fBudp\fP, \fBdccp\fP or \fBsctp\fP. +For a single port, a service name as listed in \fB/etc/services\fP may be used. .TP \fB\-\-random\fP If option -- 2.34.1