All of lore.kernel.org
 help / color / mirror / Atom feed
* reverse NATing
@ 2005-03-18  7:37 Vinay Reddy
  2005-03-18 18:35 ` Jérôme Poulin
  0 siblings, 1 reply; 2+ messages in thread
From: Vinay Reddy @ 2005-03-18  7:37 UTC (permalink / raw)
  To: netfilter-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: reverse NATing
  2005-03-18  7:37 reverse NATing Vinay Reddy
@ 2005-03-18 18:35 ` Jérôme Poulin
  0 siblings, 0 replies; 2+ messages in thread
From: Jérôme Poulin @ 2005-03-18 18:35 UTC (permalink / raw)
  To: Vinay Reddy; +Cc: netfilter-devel

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
> 
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-18 18:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-18  7:37 reverse NATing Vinay Reddy
2005-03-18 18:35 ` Jérôme Poulin

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.