From owner-freebsd-questions Wed Jun 14 21:38:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from kestrel.prod.itd.earthlink.net (kestrel.prod.itd.earthlink.net [207.217.121.155]) by hub.freebsd.org (Postfix) with ESMTP id EAF6037B6DA for ; Wed, 14 Jun 2000 21:38:28 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from pool0566.cvx20-bradley.dialup.earthlink.net (pool1260.cvx20-bradley.dialup.earthlink.net [209.179.254.240]) by kestrel.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id VAA08173; Wed, 14 Jun 2000 21:37:17 -0700 (PDT) Received: (from cjc@localhost) by pool0566.cvx20-bradley.dialup.earthlink.net (8.9.3/8.9.3) id VAA01859; Wed, 14 Jun 2000 21:35:04 -0700 (PDT) Date: Wed, 14 Jun 2000 21:34:45 -0700 From: "Crist J. Clark" To: "J. Fernandez" Cc: "freebsd-questions@freebsd.org" Subject: Re: Map private network port to public network port Message-ID: <20000614213444.C252@dialin-client.earthlink.net> Reply-To: cjclark@alum.mit.edu References: <39475D4F.59C6050@correo.worldsfactory.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0.1i In-Reply-To: <39475D4F.59C6050@correo.worldsfactory.com>; from jesus@correo.worldsfactory.com on Wed, Jun 14, 2000 at 11:24:15AM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jun 14, 2000 at 11:24:15AM +0100, J. Fernandez wrote: > Hello: > > I try to map a port in a machine on private network to a port on public > ip . > > I have a FreeBSD box connected with two NICS , one of then to the > public network IP=195.xxx.xxx.xxx other to private network > ip=192.168.0.1 , a machine on private network with IP 192.168.0.10 . > I try to map 192.168.0.10:8000 to 195.xxx.xxx.xxx:9000 > Itīs psssible using IPFW or similar??? It sounds like you must be using ipfw(8) and natd(8) already. See 'redirect_port' on the natd(8) manpage. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message