All of lore.kernel.org
 help / color / mirror / Atom feed
* Patch to libipt_DNAT.man
@ 2006-04-29  3:30 Evan Miller
  2006-05-01 17:55 ` Harald Welte
  2006-05-24 16:00 ` Patrick McHardy
  0 siblings, 2 replies; 3+ messages in thread
From: Evan Miller @ 2006-04-29  3:30 UTC (permalink / raw)
  To: netfilter-devel

I had to dig through source to find the --to-destination :port syntax (no
mangle of address). This patch to the manpage saves others the trouble,
please accept it or a similar change:

--- -   2006-04-28 20:28:04.454798000 -0700
+++ libipt_DNAT.man     2006-04-28 20:24:22.484755056 -0700
@@ -10,7 +10,7 @@
 also be mangled), and rules should cease being examined.  It takes one
 type of option:
 .TP
-.BR "--to-destination " "\fIipaddr\fP[-\fIipaddr\fP][:\fIport\fP-\fIport\fP]"
+.BR "--to-destination " "[\fIipaddr\fP][-\fIipaddr\fP][:\fIport\fP-\fIport\fP]"
 which can specify a single new destination IP address, an inclusive
 range of IP addresses, and optionally, a port range (which is only
 valid if the rule also specifies
@@ -18,7 +18,8 @@
 or
 .BR "-p udp" ).
 If no port range is specified, then the destination port will never be
-modified.
+modified. If no IP address is specified then only the destination port
+will be modified.
 .RS
 .PP
 In Kernels up to 2.6.10 you can add several --to-destination options.  For

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-05-24 16:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-29  3:30 Patch to libipt_DNAT.man Evan Miller
2006-05-01 17:55 ` Harald Welte
2006-05-24 16:00 ` Patrick McHardy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.