From owner-freebsd-questions@FreeBSD.ORG Tue Sep 20 13:04:54 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA25016A41F for ; Tue, 20 Sep 2005 13:04:54 +0000 (GMT) (envelope-from josh@metropark.com) Received: from web.metropark.com (209.248.134.200.nw.nuvox.net [209.248.134.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4216E43D46 for ; Tue, 20 Sep 2005 13:04:53 +0000 (GMT) (envelope-from josh@metropark.com) Received: (from root@localhost) by web.metropark.com (8.12.10/8.12.3) id j8KD6CJZ022443; Tue, 20 Sep 2005 08:06:12 -0500 (CDT) (envelope-from josh@metropark.com) Received: from jweaver (users.metropark.com [209.248.134.245]) by web.metropark.com (8.12.10/8.12.3av) with ESMTP id j8KD6ACn022406; Tue, 20 Sep 2005 08:06:10 -0500 (CDT) (envelope-from josh@metropark.com) Message-Id: <200509201306.j8KD6ACn022406@web.metropark.com> From: "Joshua Weaver" To: "=?iso-8859-1?Q?'Erik_N=F8rgaard'?=" , "'steve lasiter'" Date: Tue, 20 Sep 2005 08:06:25 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <432FA7FA.4080307@locolomo.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 thread-index: AcW9qld/ef1hUgHVTqWxAcOudiHQHwAOKA7Q X-Virus-Scanned: by AMaViS perl-11 Cc: 'free bsd' Subject: RE: two questions in one X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2005 13:04:54 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Erik N=F8rgaard > Sent: Tuesday, September 20, 2005 1:11 AM > To: steve lasiter > Cc: free bsd > Subject: Re: two questions in one >=20 > steve lasiter wrote: > > My web server is up and running well and I can test > > all by going to 192.168.0.2 from any internal > > workstation, but if I try to go to www.mywebsite.com > > from any internal workstation, which maps to the > > 66.190.xxx.xxx IP directed to web server port 80 as it > > should,=20 That=92s the problem - you are using NAT, you can't "go out and come = back in", your packets will expire because they will not be routed back in, and = that's by design. You need to set up an internal forward zone in your DNS to direct requests to the internal address .To see what I am talking about, trying pinging your website from the inside using the external address. = If your router is set up appropriately, you should get a 'TTL expired' message. Set up an 'A' record for www in mywebsite.com on one of your internal = boxes to point to 192.168.0.2, and set up forwarders to your ISP's name = servers on this box. Set all your internal hosts to use that machine for DNS = requests, and you will be good to go. -Joshua Weaver