* 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
* Re: Patch to libipt_DNAT.man
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
1 sibling, 0 replies; 3+ messages in thread
From: Harald Welte @ 2006-05-01 17:55 UTC (permalink / raw)
To: Evan Miller; +Cc: netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 700 bytes --]
On Fri, Apr 28, 2006 at 08:30:09PM -0700, Evan Miller wrote:
> 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:
thanks, in my local tree now. Once my flight has landed, I'll commit.
--
- Harald Welte <laforge@netfilter.org> http://netfilter.org/
============================================================================
"Fragmentation is like classful addressing -- an interesting early
architectural error that shows how much experimentation was going
on while IP was being designed." -- Paul Vixie
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Patch to libipt_DNAT.man
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
1 sibling, 0 replies; 3+ messages in thread
From: Patrick McHardy @ 2006-05-24 16:00 UTC (permalink / raw)
To: Evan Miller; +Cc: netfilter-devel
Evan Miller wrote:
> 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:
Applied, thanks. Didn't knew that was possible either :)
^ 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.