From owner-freebsd-questions Fri Feb 19 14:10:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from aasis.albany-academy.org (aasis.albany-academy.org [205.181.13.80]) by hub.freebsd.org (Postfix) with ESMTP id F0087118CA for ; Fri, 19 Feb 1999 14:10:42 -0800 (PST) (envelope-from webmastr@aasis.albany-academy.org) Received: (from webmastr@localhost) by aasis.albany-academy.org (8.8.5/8.8.5) id RAA05722; Fri, 19 Feb 1999 17:04:31 -0500 (EST) Date: Fri, 19 Feb 1999 17:04:31 -0500 (EST) Message-Id: <199902192204.RAA05722@aasis.albany-academy.org> Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain MIME-Version: 1.0 X-Mailer: MIME::Lite 1.120 Subject: Re: Simple natd question. To: "DanLangille" From: "Abraham J. Stephens" Organization: The Albany Academy Student Information System Comments: Please report any abuse of this service to abuse@aasis.albany-academy.org X-Sender: MMime. v3.0 (c) 1998/1999 Abraham J. Stephens. Cc: freebsdlist Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 19 Feb 1999 18:29:28 +1300, "Dan Langille" wrote: > 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". > Lemme know whether or not that does what you want. I checked your page and then read the man page again, I got natd working in the 205.181.13.0 -> 10.0.0.6 direction, I was able to browse web pages on the sun server, I added the -unregistered_only option and ran into something strange, after adding a default route on the sun, I was able to only ping one box on the 205.181.13.0 network from the 10.0.0.0 network. (the box I was able to ping also happened to be connected to the 10.0.0.0 network, I ran a traceroute just be sure it was going through the nat box- it was.) I need to be able to translate in the other direction from the 10.0.0.0 network to the 205.181.13.0 network and the rest of the internet as the sun is running a Web server based email client program... Any ideas what I might be doing wrong? -Thanks Abraham J. Stephens MMime v.3 -- Email from anywhere! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message