From owner-freebsd-questions Sat Nov 25 23:22:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 0FF5837B4CF for ; Sat, 25 Nov 2000 23:22:24 -0800 (PST) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sat, 25 Nov 2000 23:20:53 -0800 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id eAQ7MMT49141; Sat, 25 Nov 2000 23:22:22 -0800 (PST) (envelope-from cjc) Date: Sat, 25 Nov 2000 23:22:17 -0800 From: "Crist J . Clark" To: Jeff Smith Cc: questions@FreeBSD.ORG Subject: Re: PLZ help Message-ID: <20001125232217.D12190@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from jeffsey@hotmail.com on Sat, Nov 25, 2000 at 09:54:33PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Nov 25, 2000 at 09:54:33PM -0800, Jeff Smith wrote: > I have two questions for u. First of all i am running freeBSD 4.1.1 > my question is this. In my computer room i have the following setup > > 2 (ip:10.1.1.2 > / > W---H--G (ip:10.1.1.1 & external ip) > \ > 1 (ip: 10.1.1.3) > -=rj45 wire > W=wall jack > H=hub > G=Gateway(computer running freeBSD 4.1.1 > 1=home pc running both rh7 and win98 > 2=home pc running win98 > > the i have access to an oc3 line via the university and with that a static > ip address. I have setup the gateway to act as a gateway for computers 1 > and 2 using two ethernet cards, ip filtering and the firewall. My question > is how could i set it up so that computers 1 and 2 could have an ftp site > accessible from the outside world. The only way now would be to login to > the gateway computer and then use that to get access to the internal > network. I have heard that you can set it up so that computers 1 and 2 have > a certain port associated with them and that would be how you would route > the request??...i am not really sure if that is worded right. Anyway please > help me if i have made my problem clear enough and if not please ask me what > is not clear. Are you already doing NAT for this setup? Have a look at the 'redirect_address' and 'redirect_port' options in natd(8). -- 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