Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2003 17:47:44 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        jdroflet@canada.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: IPFW NATD access www server by name from the LAN side ?
Message-ID:  <20030330054744.GA95421@grimoire.chen.org.nz>
In-Reply-To: <20030329151110.7162.h006.c009.wm@mail.canada.com.criticalpath.net>
References:  <20030329151110.7162.h006.c009.wm@mail.canada.com.criticalpath.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 29, 2003 at 03:11:09PM -0800, jdroflet@canada.com wrote:

[...]
> > > How can I redirect traffic to the WWW server from the LAN side ?
> > > Thanks, Jay.
> > 
> > This is in the howto I followed (but I don't remember how)... there's
> > about 5 good ones that can be found via google.
> > Basically, you need to add a rdr rule to natd, if I remember correctly.
> Thanks, I've spent some time google(ing) but haven't hit anything, if
> anyone has some links it would be most appreciated. 

The most common solution is to run an internal DNS (which everyone on
the inside uses) which maps the name to the internal address. If you run
an authoritative DNS for your domain, the DNS which serves outside queries
need to be separate from the one that handles internal queries.
Alternatively, you can use BIND9's views feature to do the same thing
as these 2 DNS servers.

Cheers.
-- 
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
"With sufficient thrust, pigs fly just fine. However, this is not necessarily
a good idea. It is hard to be sure where they are going to land, and it
could be dangerous sitting under them as they fly overhead." -- RFC 1925



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030330054744.GA95421>