Date: Fri, 19 Feb 1999 17:04:31 -0500 (EST) From: "Abraham J. Stephens" <stephea@aasis.albany-academy.org> To: "DanLangille" <junkmale@xtra.co.nz> Cc: freebsdlist <freebsd-questions@FreeBSD.ORG> Subject: Re: Simple natd question. Message-ID: <199902192204.RAA05722@aasis.albany-academy.org>
next in thread | raw e-mail | index | archive | help
On Fri, 19 Feb 1999 18:29:28 +1300, "Dan Langille" <junkmale@xtra.co.nz> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902192204.RAA05722>