Re: can't access public website from within web server domain, need to force NAT

From: Phillip Windell (_at_.)
Date: 06/10/04


Date: Thu, 10 Jun 2004 10:46:49 -0500


"Will" <will@nootron.com> wrote in message
news:1ef40250.0406100709.a38edd8@posting.google.com...
> Is this a DNS issue?

Yes...

> Or is this perhaps a problem with my firewall setup?

No. It is normal behavor tied to how TCP/IP combined with Ethernet (mac
addresses) works. The packet is trying to both leave and enter the same
external NIC of the Firewall at the same time,...therefore the Source MAC
address *and* the Destination MAC address in the packet's Layer2 header
have the same address. Since the Source and Destination MACs can't both be
the same (and still work) it sort of "shoots itself in the head".

The following article describes this in the context of MS's ISA running the
SecureNAT Service, but the principles are the same with any NAT-based
firewall. It is kind of hard to follow, but the data is there.

[Note: that's underscores between words, not spaces]
http://www.isaserver.org/articles/14120_Errors_Discussion_and_Solution.html

> Is there a way w/ DNS or other networking configurations to
> force these internal http requests to go outside the firewall so they
> can be NAT'ed and served up correctly?
> Or is the hosts file my only solution?

What you want is the have a record in your own DNS Server for these sites'
"Domain Names" that resolve to the internal *Private IP#* instead of the
Public IP# and then make sure that your own DNS is the first DNS Server
requested from by these machines. This allows these web servers to
communicate directly to each other without involving the Firewall at all (it
also allows your internal users to work the same way). The only time that
the firewall should be involved is when an outside host makes a request to
those machine from the Internet. Any internal machine should *never* have
to go to the firewall to get to something that is already positioned
physically on the same side of the firewall that the requesting machine is
already on.

-- 
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


Relevant Pages

  • Re: Setting another machine as a firewall
    ... I don't think a firewall is really the right technology to ... The alternative to implementing a proxy mail server on your firewall ... internet, then that is just a matter of writing filter rules to allow ... As far as DNS goes, combining a NAT'ing firewall with a mailserver on ...
    (freebsd-questions)
  • Re: Best Practice - Implementation of 2nd AD-DNS Server
    ... > External Firewall ... > will submit queries to ISP DNS servers? ... if on the "Forwarding" tab you tell it not ... internal DNS which forwards to external DNS for Internet resolution. ...
    (microsoft.public.windows.server.dns)
  • Re: 99.9 % of Software/Hardware Firewalls DO-NOT.....
    ... >> firewall is presumably protecting you. ... If you're saying that MAC ... >> you to find anyone's MAC address by sniffing packets on any Internet ... >> you even know how DNS operates? ...
    (comp.security.firewalls)
  • RE: VPN & SQL Issue
    ... In order to audit internet ... I don't believe our Firewall has that function. ... >> SBS 2000 server is resolved through IP address. ... >>>ISP' DNS or point to your firewall, this will prevent many unexpected DNS ...
    (microsoft.public.windows.server.sbs)
  • Re: Internal vs External Domain Names
    ... >active website on the Internet. ... internal DNS will not be known to the external DNS, ... The firewall would then then NAT the *IP* ... Your Exchange server would presumably need to connect with the outside ...
    (microsoft.public.win2000.active_directory)