Skip to contentSkip to conversation

DNAT probs

DISCUSSION Roy Sigurd Karlsbakk 2 participants 2 messages Feb 10, 2003

lore
Share & tools
lore
#0 lore raw

hi all

I've got this network as sketched below...

                  internal net
                      |
                      |
                +-----+----+
+--------+      |          |
| router +------+ Firewall |------ dmz
+--------+      |          |
                +----------+

The computers on the dmz and the internal net have all unofficial addresses with DNATing into the DMZ for those that should be available from the outside.

The problem occurs when a computer on the dmz (192.168.x.y) tries to address another computer there by its official address (resolved from DNS). The firewall (netfilter/iptables) doesn't seem to be able to do the dmz -> netfilter -> dmz NATing.

Any ideas?

roy

Signature · 6 lines
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356

Computers are like air conditioners.
They stop working when you open Windows.
#1 lore raw
Quoted 8 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Roy Sigurd Karlsbakk
Sent: Monday, February 10, 2003 2:12 PM
To: [email protected]
Subject: DNAT probs

Quoted 4 lines

The firewall (netfilter/iptables) doesn't seem to be able to do the dmz -> netfilter -> dmz NATing.

Any ideas?

This is not a problem, because this behaviour is documented. So this is a feature :-)

Maybe you should have a look to the netfilter NAT howto, especially this chapter :
http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO-10.html