Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Mr Vandeley <mr.vandeley@gmail.com>
To: netfilter@vger.kernel.org
Subject: Re: Nated connection behavior
Date: Fri, 6 Mar 2009 08:50:57 -0300	[thread overview]
Message-ID: <87fa72960903060350n5bc33f37n309af95db55be24b@mail.gmail.com> (raw)
In-Reply-To: <c1dd97640903051012j60998ea1o179195f0a3037a26@mail.gmail.com>

On Thu, Mar 5, 2009 at 3:12 PM, James Stull <rivitir@gmail.com> wrote:
> NAT doesn't rewrite that section of a packet. Instead it "saves" the
> communication in memory this way your computer thinks it's talking directly
> to the server.
>
> You can kind of think of it like if you sent a letter to a friend:
>
> |You|<----->[Postal Service]<---->|Friend|
>
> Neither of you think about the postal service between you and how it works,
> instead you only think your talking to each other via your letters.
>
> Hope this helps.
>
> --James

Great, thanks James for your answer.

So, this "saved communication" is saved by NAT or by the conntrack module?

I ask this,  because I see that on CISCO routers, NAT doesn't behave
the same way. If I replace the Linux Router for a Cisco router,
configured nating everything that comes out on its external interface,
answers come from the router and client just ignore that answer,
right?

      parent reply	other threads:[~2009-03-06 11:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-05 18:02 Nated connection behavior Mr Vandeley
     [not found] ` <c1dd97640903051012j60998ea1o179195f0a3037a26@mail.gmail.com>
2009-03-06 11:50   ` Mr Vandeley [this message]

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=87fa72960903060350n5bc33f37n309af95db55be24b@mail.gmail.com \
    --to=mr.vandeley@gmail.com \
    --cc=netfilter@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox