From owner-freebsd-questions Thu Feb 18 21:29:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mta1-rme.xtra.co.nz (mta.xtra.co.nz [203.96.92.1]) by hub.freebsd.org (Postfix) with ESMTP id B8CFF11412 for ; Thu, 18 Feb 1999 21:29:29 -0800 (PST) (envelope-from junkmale@pop3.xtra.co.nz) Received: from wocker ([210.55.210.87]) by mta1-rme.xtra.co.nz (InterMail v04.00.02.07 201-227-108) with SMTP id <19990219052949.XYPN682101.mta1-rme@wocker>; Fri, 19 Feb 1999 18:29:49 +1300 From: "Dan Langille" Organization: The FreeBSD Diary To: "Abraham J. Stephens" Date: Fri, 19 Feb 1999 18:29:28 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Simple natd question. Reply-To: junkmale@xtra.co.nz Cc: freebsd list In-reply-to: <199902190201.VAA03176@aasis.albany-academy.org> X-mailer: Pegasus Mail for Win32 (v3.01d) Message-Id: <19990219052949.XYPN682101.mta1-rme@wocker> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 18 Feb 99, at 21:01, Abraham J. Stephens wrote: > I hope this is a simple question about natd... > > I have two networks, a private network (10.0.0.0) and a public network > (205.181.13.0). One system running 2.2.5 has one nic plugged into each network, > > here is the problem: > > There is a sun web server sitting on the private network. I thought that I > might be able to use natd to alias an address on the public network to sun > sitting on the private network such that users would be able to access the > sun's web server. > > Is this possible? > What flags do I need to use with natd? What interface do I need to specify? Yes. It is possible. I've done it. Look at my website below. Click on topics. Look for Apache. Look for "Redirecting http requests". Well, you want http://www.freebsddiary.com/freebsd/http.htm Lemme know whether or not that does what you want. -- Dan Langille The FreeBSD Diary http://www.FreeBSDDiary.com/freebsd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message