From owner-freebsd-questions Sun Feb 24 10:17:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ulixes.esc.ac.at (ulixes.esc.ac.at [193.170.216.34]) by hub.freebsd.org (Postfix) with ESMTP id 6334537B400 for ; Sun, 24 Feb 2002 10:17:37 -0800 (PST) Received: from ulixes.esc.ac.at (localhost.esc.ac.at [127.0.0.1]) by ulixes.esc.ac.at (8.12.2/8.12.2) with ESMTP id g1OIHaHr023455; Sun, 24 Feb 2002 19:17:36 +0100 (CET) (envelope-from flo@ulixes.esc.ac.at) Received: (from flo@localhost) by ulixes.esc.ac.at (8.12.2/8.12.2/Submit) id g1OIHaIx023454; Sun, 24 Feb 2002 19:17:36 +0100 (CET) (envelope-from flo) Date: Sun, 24 Feb 2002 19:17:36 +0100 From: Florian Nigsch To: Lane Holcombe , freebsd-questions@freebsd.org Subject: Re: DNS? nat? Message-ID: <20020224191736.C23097@nigsch.com> Mail-Followup-To: Florian Nigsch , Lane Holcombe , freebsd-questions@freebsd.org References: <200202241748.g1OHmR701169@joeandlane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200202241748.g1OHmR701169@joeandlane.com>; from lane@joeandlane.com on Sun, Feb 24, 2002 at 11:48:27AM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Feb 24, 2002 at 11:48:27AM -0600, Lane Holcombe wrote: > I have successfully used nat to transfer incoming requests to the > Windows box based upon port number, (e.g. www.mydomain.com:8080), > but I can't seem to figure out how to do it based upon hostname (e.g. > windows.mydomain.com). ---end quoted text--- I don't know if I am much of a help... As far as I know you can only redirect adresses and ports with natd based on the IP adress. What I am trying to say is that natd will not know for which hostname the packet is destined which it should redirect. It only knows of the IP number it runs on. So if you have multiple hostnames on the same IP I personally think it's not possible with natd to do redirecting based on hostname. Unlike with apache where you can have multiple virtual hosts distinguished by their URL. Someone correct me if I am wrong... flo -- --- Florian Nigsch http://flo.nigsch.com/ PGP key: http://flo.nigsch.com/fnigsch.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message