All of lore.kernel.org
 help / color / mirror / Atom feed
* ICMP Connections ...
@ 2004-08-24 13:36 Chetan Nagaraja
  2004-08-24 21:05 ` Antony Stone
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chetan Nagaraja @ 2004-08-24 13:36 UTC (permalink / raw)
  To: netfilter

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

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

end of thread, other threads:[~2004-08-24 21:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-24 13:36 ICMP Connections Chetan Nagaraja
2004-08-24 21:05 ` Antony Stone
2004-08-24 21:24 ` Aleksandar Milivojevic
2004-08-24 21:56 ` Deepak Seshadri

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.