Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Simon Lodal <simonl@parknet.dk>
To: netfilter@lists.netfilter.org
Cc: "Dick St.Peters" <stpeters@NetHeaven.com>
Subject: Re: DNAT hiding routers behind it
Date: Fri, 06 Aug 2004 23:08:12 +0200	[thread overview]
Message-ID: <4113F33C.7060601@parknet.dk> (raw)
In-Reply-To: <16659.52594.461489.174741@saint.heaven.net>


No Linksys here, the firewall is a linux PC, the "router" is an Extreme 
Networks Summit 200 switch that acts like a router.

I do not think it matters. Point is that the router sends an icmp 
ttl-exceeded, which the firewall apparently considers part of the 
connection, and therefore does reverse DNAT on.

My problem is why it does that, and if it can be avoided.


Simon


Dick St.Peters skrev:
> Simon Lodal writes:
> 
>>I am traceroute'ing a DNAT'ed host. Surprisingly, all routers between 
>>the DNAT'ing firewall and the host appear as the IP address I am 
>>traceroute'ing. Is this intended? Can it be controlled in some way? (it 
>>is not necessarily bad)
>>
>>Example:
>>traceroute to 217.116.235.62 (217.116.235.62), 30 hops max, 38 byte packets
>>  1  192.168.0.2 (192.168.0.2)  4.152 ms  0.875 ms  0.865 ms
>>  2  217.116.235.62 (217.116.235.62)  1.928 ms  1.272 ms  1.430 ms
>>  3  217.116.235.62 (217.116.235.62)  2.013 ms  2.338 ms  2.330 ms
>>
>>Line 1: DNAT'ing firewall.
>>Line 2: A router.
>>Line 3: DNAT'ed host.
> 
> 
> Is the router a small Linksys router?  They do this without being
> behind a firewall or NAT box.
> 
> --
> Dick St.Peters, stpeters@NetHeaven.com 


  reply	other threads:[~2004-08-06 21:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-06 17:25 DNAT hiding routers behind it Simon Lodal
2004-08-06 18:26 ` Dick St.Peters
2004-08-06 21:08   ` Simon Lodal [this message]
2004-08-06 22:56     ` Antony Stone
2004-08-07  2:51       ` Simon Lodal
2004-08-07  7:37         ` Antony Stone
2004-08-07 14:47           ` Simon Lodal
2004-08-11 20:29             ` Aleksandar Milivojevic

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=4113F33C.7060601@parknet.dk \
    --to=simonl@parknet.dk \
    --cc=netfilter@lists.netfilter.org \
    --cc=stpeters@NetHeaven.com \
    /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