From owner-freebsd-questions@FreeBSD.ORG Mon Jun 2 16:12:59 2003 Return-Path: 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 C6BF037B401 for ; Mon, 2 Jun 2003 16:12:59 -0700 (PDT) Received: from smtp.prodigy.net.mx (dfproxy00.prodigy.net.mx [148.235.168.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id E656043F85 for ; Mon, 2 Jun 2003 16:12:58 -0700 (PDT) (envelope-from ibac@prodigy.net.mx) Received: from pc1 (du-200-67-41-134.prodigy.net.mx [200.67.41.134]) sims.4.0.2001.07.26.11.50.p9) with SMTP id <0HFV009DBN01D7@SMTP.Prodigy.Net.mx>; Mon, 2 Jun 2003 18:09:40 -0500 (CDT) Date: Mon, 02 Jun 2003 18:12:16 -0500 From: Alfonso Romero To: freebsd-questions , Chuck Swiger Message-id: <004b01c3295c$69458680$0100a8c0@ibac> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT X-Priority: 3 X-MSMail-priority: Normal References: <003a01c32942$6a081200$0100a8c0@ibac> <3EDBB278.9040302@mac.com> Subject: Re: DNS and natd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 23:13:00 -0000 This is the result of traceroute: traceroute to 200.67.41.134 (200.67.41.134), 64 hops max, 44 byte packets 1 dsl-200-67-41-134.prodigy.net.mx (200.67.41.134) 0.844 ms 0.649 ms 0.570 ms My web server is on another machine, at 192.168.0.2, and the natd is running on 192.168.0.1. Is there any flag on natd that solves this issue? Alfonso ----- Original Message ----- From: "Chuck Swiger" To: "freebsd-questions" Sent: Monday, June 02, 2003 3:24 PM Subject: Re: DNS and natd > Alfonso Romero wrote: > > Iīm using natd on a FreeBSD 4.8 box as a gateway, so my internal LAN can > > access Internet. Iīve configured a web server, but the local LAN machines > > canīt access the server by itīs domain name. If I setup my FreeBSD gateway to > > also act as a DNS server, are my local LAN machines going to be able to > > access my web server with www.ibacsoft.dynu.com, instead of 192.168.0.2? > > 10-bjork# nslookup www.ibacsoft.dynu.com > Name: www.ibacsoft.dynu.com > Address: 200.67.41.134 > > What happens when you do a "traceroute 200.67.41.134" from an internal > machine...does it get to the web server as you expect? > > If the webserver is the same system as the NAT box, you'll have to add that IP > to the natd flags and maybe apache's config file, I believe... > > -Chuck > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >