[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Prob w/ Apache behind NAT
- To: Matt Rickard <mjr318@psu.edu>
- Subject: Re: Prob w/ Apache behind NAT
- From: Ajai Khattri <ajai@bway.net>
- Date: Thu, 1 Aug 2002 14:56:15 -0400
- Cc: misc@openbsd.org
- Content-Disposition: inline
- References: <200207312150.46381.mjr318@psu.edu>
- User-Agent: Mutt/1.3.99i
On Wed, Jul 31, 2002 at 09:50:46PM -0400, Matt Rickard wrote:
> I'm running OpenBSD 3.1 with NAT to my home network. I'm running a Slackware
> Apache server behind NAT serving a small website.
>
> It looks like I can access the website fine from outside of my network (I went
> out to netcraft and checked it), but from inside my network (192.168.1.X) I
> can't get on the server unless I access it directly - i.e.
> http://192.168.1.99. If I put in the dyndns domain name, I get nothing.
The problem is that you need internal machines to go to the internal IP
instead of the external one.
You can solve this by running and using a separate DNS server for internal
traffic. Or you can use the "view" feature in BIND9 which allows one name
server to send different replies depending on where the query comes from.
--
.jA
repoleveD \ .nimdA smetsyS