From: Chetan Nagaraja <chetanmn_in@yahoo.com>
To: netfilter@lists.netfilter.org
Subject: ICMP Connections ...
Date: Tue, 24 Aug 2004 06:36:10 -0700 (PDT) [thread overview]
Message-ID: <20040824133610.80037.qmail@web14926.mail.yahoo.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1021 bytes --]
Dear All,
First of all, let me introduce as a total newbie in filtering and iptables.
To ping a host in a different network, I have configured a dual homed[ two network interfaces] linux system to act as NAT router.
I have add a rule in the NAT table of iptables, to achieve the following.
If the Linux system recieves a icmp packet from a particular host in NETWORK A addressed to a particular HOST in NETWORK B , perform SNAT of the ICMP packet to that of the Linux System, so that the icmp replies reaches the Linux system.
The above is working very fine. The ICMP requests are reaching the expected destination.
But I'am unable to understand the fact that the ICMP replies are reaching the host in NETWORK A which had generated the requests, without adding a DNAT rule for the same.
How is this possible, does iptables automatically redirect ICMP replies ?
And How to avoid the same.
Thanking you,
Chetan M N
---------------------------------
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
[-- Attachment #2: Type: text/html, Size: 1289 bytes --]
next reply other threads:[~2004-08-24 13:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-24 13:36 Chetan Nagaraja [this message]
2004-08-24 21:05 ` ICMP Connections Antony Stone
2004-08-24 21:24 ` Aleksandar Milivojevic
2004-08-24 21:56 ` Deepak Seshadri
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=20040824133610.80037.qmail@web14926.mail.yahoo.com \
--to=chetanmn_in@yahoo.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