Linux Netfilter discussions
 help / color / mirror / Atom feed
* Nated connection behavior
@ 2009-03-05 18:02 Mr Vandeley
       [not found] ` <c1dd97640903051012j60998ea1o179195f0a3037a26@mail.gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Mr Vandeley @ 2009-03-05 18:02 UTC (permalink / raw)
  To: netfilter

Hi,
I have a question related to a NAT connection behavior:

|CLIENT|<----->[ROUTER/IPTABLES/NAT]<---->|SERVER|

Why is it that if I ping SERVER from CLIENT, I see answers comming
from SERVER internal IP instead of ROUTER external IP.

NAT rule on ROUTER is:

iptables -t nat -A POSTROUTING -s <IP SERVER> -o <external eth of
ROUTER> -j SNAT --to-source <external IP of ROUTER>

I know that it is awful too basic question for you guys, but if
someone could explain that I'll be much appreciative.

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

end of thread, other threads:[~2009-03-06 11:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-05 18:02 Nated connection behavior Mr Vandeley
     [not found] ` <c1dd97640903051012j60998ea1o179195f0a3037a26@mail.gmail.com>
2009-03-06 11:50   ` Mr Vandeley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox