From owner-freebsd-questions Wed Oct 11 20:31:56 2000 Delivered-To: freebsd-questions@freebsd.org Received: from falla.videotron.net (falla.videotron.net [205.151.222.106]) by hub.freebsd.org (Postfix) with ESMTP id B44AA37B503 for ; Wed, 11 Oct 2000 20:31:49 -0700 (PDT) Received: from modemcable213.3-201-24.mtl.mc.videotron.ca ([24.201.3.213]) by falla.videotron.net (Sun Internet Mail Server sims.3.5.1999.12.14.10.29.p8) with ESMTP id <0G2A00GGSSGZS7@falla.videotron.net> for freebsd-questions@FreeBSD.ORG; Wed, 11 Oct 2000 23:31:47 -0400 (EDT) Date: Wed, 11 Oct 2000 23:35:54 -0400 (EDT) From: Bosko Milekic Subject: Re: Static Nat In-reply-to: <200010120324.XAA22892@all-night-tool.mit.edu> X-Sender: bmilekic@jehovah.technokratis.com To: Michael L Artz Cc: freebsd-questions@FreeBSD.ORG 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 ( maybe this is better answered on -questions, re-directed there... ) In the meantime... Checkout `man 8 natd' and search for the "redirect-address" option. On Wed, 11 Oct 2000, Michael L Artz wrote: > I have NAT set up with ipfw and natd using the 192.168.1.* non-routable > internal net, and was wanting to be able to access one of those internal > machines from the outside using static nat. For example, I have 2 IPs, > one which is associated with the external interface on the gateway and > one which is unused. I would like to map the unused address to one of > the internal machines. I was just wondering what was involved ... i.e > do I need to alias my FreeBSD gateway machine to all of the IPs that I > want it to translate/accept? Do I need to change the routing tables of > either the internal or the gateway machine? Does the internal machine > need to know about the external translation? Your "gateway"/NAT machine will likely have to be set as "GATEWAY" (checkout /etc/defaults). > > Any help would be great. > > Thanks > Mike > slyph@mit.edu Later, Bosko Milekic bmilekic@technokratis.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message