All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jérôme Poulin" <jeromepoulin@gmail.com>
To: Vinay Reddy <vinayvinay@gmail.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: reverse NATing
Date: Fri, 18 Mar 2005 13:35:57 -0500	[thread overview]
Message-ID: <debc30fc05031810356f0fc1ee@mail.gmail.com> (raw)
In-Reply-To: <537f59d10503172337941a6a4@mail.gmail.com>

I think you are talking about what seems to be the connection
tracking, once a packet match a rule in the nat table it will use that
rule until the connection is closed and in both sides.


On Fri, 18 Mar 2005 13:07:33 +0530, Vinay Reddy <vinayvinay@gmail.com> wrote:
> Hi,
> I would like to know where exactly reverse mapping(packets coming from
> outside to the internal network) is done in the case of SNAT? From the
> netfilter documentation, it seems to be done in the POST_ROUTING hook.
> Is it true?
> Logically I would expect the packet to be reverse mapped in the
> pre-routing state itself. Why would one want to reverse map it in post
> routing? I am sure I am missing something. Could anyone please
> enlighten me?
> 
> Any help would be appreciated.
> 
> Regards,
> Vinay
> 
>

      reply	other threads:[~2005-03-18 18:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-18  7:37 reverse NATing Vinay Reddy
2005-03-18 18:35 ` Jérôme Poulin [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=debc30fc05031810356f0fc1ee@mail.gmail.com \
    --to=jeromepoulin@gmail.com \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=vinayvinay@gmail.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.