Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Vikram <vikramd@kritikalsolutions.com>
To: netfilter@lists.netfilter.org
Subject: SNAT Delay
Date: Fri, 13 Jul 2007 15:55:58 +0530	[thread overview]
Message-ID: <46975336.2030303@kritikalsolutions.com> (raw)

Hi,

I m using a simple NAT scenario. My Linux router has 2 interfaces 
connected to 2 machines, M1 and M2.

         M1                      Linux NAT Router                    M2
[192.168.1.2]<----->[192.168.1.1][10.0.0.1]<----->[10.0.0.2]

Forwarding is enabled on the router. All the tables in iptables are 
flushed. I have enabled continuous ping from M1 to M2. I get no response.

I execute the following iptables command:-

iptables -t nat -A POSTROUTING -o eth0 -s 192.168.1.2 -j SNAT 
--to-source 10.0.0.1

I am still unable to receive any instant ping response. The NAT 
translations start happening after an unacceptable interval of time 
after which I am able to receive response.

Is this normal? Is there a workaround so that NAT translations begin 
instantly as and when a rule has been inserted?

Vikram



                 reply	other threads:[~2007-07-13 10:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=46975336.2030303@kritikalsolutions.com \
    --to=vikramd@kritikalsolutions.com \
    --cc=netfilter@lists.netfilter.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