From 6d7d91e86729e3b2bcca6821409e8d78e83430e7 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 8 Jun 2009 15:46:19 +0200 Subject: DNAT/SNAT: add manpage documentation for --persistent flag Signed-off-by: Jan Engelhardt Signed-off-by: Patrick McHardy --- extensions/libipt_DNAT.man | 7 +++++-- extensions/libipt_SAME.man | 2 ++ extensions/libipt_SNAT.man | 7 +++++-- 3 files changed, 12 insertions(+), 4 deletions(-) (limited to 'extensions') diff --git a/extensions/libipt_DNAT.man b/extensions/libipt_DNAT.man index 22e84c62..d1e0a3a1 100644 --- a/extensions/libipt_DNAT.man +++ b/extensions/libipt_DNAT.man @@ -32,5 +32,8 @@ anymore. If option \fB\-\-random\fP is used then port mapping will be randomized (kernel >= 2.6.22). -.RS -.PP +.TP +\fB\-\-persistent\fP +Gives a client the same source-/destination-address for each connection. +This supersedes the SAME target. Support for persistent mappings is available +from 2.6.29-rc2. diff --git a/extensions/libipt_SAME.man b/extensions/libipt_SAME.man index b862aa4e..a99dc73f 100644 --- a/extensions/libipt_SAME.man +++ b/extensions/libipt_SAME.man @@ -1,6 +1,8 @@ Similar to SNAT/DNAT depending on chain: it takes a range of addresses (`\-\-to 1.2.3.4\-1.2.3.7') and gives a client the same source-/destination-address for each connection. +.PP +N.B.: The DNAT target's \fB\-\-persistent\fP option replaced the SAME target. .TP \fB\-\-to\fP \fIipaddr\fP[\fB\-\fP\fIipaddr\fP] Addresses to map source to. May be specified more than once for diff --git a/extensions/libipt_SNAT.man b/extensions/libipt_SNAT.man index 040571bb..6b828fd4 100644 --- a/extensions/libipt_SNAT.man +++ b/extensions/libipt_SNAT.man @@ -30,5 +30,8 @@ anymore. If option \fB\-\-random\fP is used then port mapping will be randomized (kernel >= 2.6.21). -.RS -.PP +.TP +\fB\-\-persistent\fP +Gives a client the same source-/destination-address for each connection. +This supersedes the SAME target. Support for persistent mappings is available +from 2.6.29-rc2. -- cgit v1.2.3