All of lore.kernel.org
 help / color / mirror / Atom feed
From: Evan Miller <evanm@frap.net>
To: netfilter-devel@lists.netfilter.org
Subject: Patch to libipt_DNAT.man
Date: Fri, 28 Apr 2006 20:30:09 -0700	[thread overview]
Message-ID: <20060429033009.GA10032@frap.net> (raw)

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

             reply	other threads:[~2006-04-29  3:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-29  3:30 Evan Miller [this message]
2006-05-01 17:55 ` Patch to libipt_DNAT.man Harald Welte
2006-05-24 16:00 ` Patrick McHardy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060429033009.GA10032@frap.net \
    --to=evanm@frap.net \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.