netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Atle Solbakken <atle@goliathdns.no>
To: Pandu Poluan <pandu@poluan.info>
Cc: "netfilter@vger.kernel.org" <netfilter@vger.kernel.org>
Subject: Re: When does NAT processing actually takes place?
Date: Thu, 17 Mar 2011 01:48:04 +0100	[thread overview]
Message-ID: <4D815A44.9040103@goliathdns.no> (raw)
In-Reply-To: <AANLkTi=8aYepwRCxcCpo+syL4xjX6HkEFtPVbepZDf05@mail.gmail.com>

Den 17. mars 2011 01:20, skrev Pandu Poluan:
> When does the actual NAT process (i.e., swapping addresses) take place
> for DNAT and SNAT/MASQUERADE? And when does the reciprocal NAT (i.e.,
> reverse NAT, that should happen for instance to process a reply to a
> packet that's been SNAT-ed) take place?
Take a look at this diagram. Explains iptables packet flow (simplified).

http://www.linuxhomenetworking.com/wiki/images/f/f0/Iptables.gif.pagespeed.ce.WDSY-MDA4o.gif


Atle.

  reply	other threads:[~2011-03-17  0:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-17  0:20 When does NAT processing actually takes place? Pandu Poluan
2011-03-17  0:48 ` Atle Solbakken [this message]
2011-03-17  2:08   ` Pandu Poluan
     [not found] ` <AANLkTik7yeZMEx8ujCPd-fkFa1GRN9Ad82SDJi2emk88@mail.gmail.com>
2011-03-17  1:59   ` Pandu Poluan
     [not found] <282984944.21619.1300343429509.JavaMail.root@tahiti.vyatta.com>
2011-03-17  6:32 ` Steven Kath
2011-03-17  8:43   ` Pandu Poluan
2011-03-19 10:02   ` Pascal Hambourg

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=4D815A44.9040103@goliathdns.no \
    --to=atle@goliathdns.no \
    --cc=netfilter@vger.kernel.org \
    --cc=pandu@poluan.info \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).