From owner-freebsd-questions Mon Jul 19 18:24:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pinnacle.co.nz (pinnacle.internet.co.nz [210.48.55.133]) by hub.freebsd.org (Postfix) with ESMTP id 770011516A for ; Mon, 19 Jul 1999 18:24:44 -0700 (PDT) (envelope-from jonc@pinnacle.co.nz) Received: from kiwi.pinnacle.co.nz (kiwi.pinnacle.co.nz [202.37.163.2]) by pinnacle.co.nz (8.9.3/8.9.3) with ESMTP id NAA18978; Tue, 20 Jul 1999 13:22:36 +1200 (NZST) Date: Tue, 20 Jul 1999 13:22:36 +1200 (NZST) From: Jonathan Chen To: Tim Walker Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Help with NATD!?! In-Reply-To: <4.1.19990718183034.0099aa80@mail.cyberia.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 18 Jul 1999, Tim Walker wrote: > I am running FreeBSD as my network's gateway to the Internet and am > trying to pass Web traffic through to a server on my internal network > (FreeBSD machine has a routable IP address and the internal web server > has a non-routable address). > > It is working fine from the outside world, but from machines on my > internal network they always end up on the FreeBSD webserver. Where does your DNS live? If the DNS returns the outside interface's IP, your Web-client will get directed to your FreeBSD box (which I assume is your default-gateway), and since it's also on the inside network, the IP packets will have reached where they have been directed. A possible solution is to maintain an internal DNS (that everyone will be using internally) that returns the internal webserver's IP address. Jonathan Chen ---------------------------------------------------------------------- Clothes do make the man. Naked people have little or no influence on society. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message