All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Taylor, Grant" <gtaylor@riverviewtech.net>
To: Jason Opperisano <opie@817west.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: REDIRCT vs. DNAT...
Date: Fri, 22 Apr 2005 17:30:43 -0500	[thread overview]
Message-ID: <42697B13.9030001@riverviewtech.net> (raw)
In-Reply-To: <20050422222456.GA5890@bender.817west.com>

> REDIRECT is a special case of DNAT, where the dst IP is rewritten to the
> IP address of the interface the packet is received on (optionally
> re-writing the dst port as well).

So is there really any functional difference if you are wanting to redirect the traffic to the interface that it did come in?  In other words do you know of any kernel differences (number of cycles to execute?) in REDIRECT vs. DNAT?

> i used DNAT in my response, as it wasn't clear from the OP what local IP
> the translated packets needed to be sent to.

*nod*  I had to read the post more than one time too.



Grant. . . .


  reply	other threads:[~2005-04-22 22:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-22 22:12 REDIRCT vs. DNAT Taylor, Grant
2005-04-22 22:24 ` Jason Opperisano
2005-04-22 22:30   ` Taylor, Grant [this message]
2005-04-23  8:05 ` Jose Maria Lopez Hernandez

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=42697B13.9030001@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --cc=netfilter@lists.netfilter.org \
    --cc=opie@817west.com \
    /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.