From owner-freebsd-questions Sun Mar 29 19:31:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA03736 for freebsd-questions-outgoing; Sun, 29 Mar 1998 19:31:28 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ha1.rdc1.sfba.home.com (siteadm@ha1.rdc1.sfba.home.com [24.0.0.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA03629 for ; Sun, 29 Mar 1998 19:31:15 -0800 (PST) (envelope-from ludwigp@bigfoot.com) Received: from speedy.plstn1.sfba.home.com ([24.1.82.47]) by ha1.rdc1.sfba.home.com (Netscape Mail Server v2.02) with SMTP id AAA16951; Sun, 29 Mar 1998 11:48:12 -0800 Message-Id: <3.0.3.32.19980329114801.00706828@mail.plstn1.sfba.home.com> X-Sender: ludwigp@mail.plstn1.sfba.home.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Sun, 29 Mar 1998 11:48:01 -0800 To: "erron jett" , questions@FreeBSD.ORG From: Ludwig Pummer Subject: Re: redrecting FTP In-Reply-To: <19980329090737.22981.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 01:07 AM 3/29/98 PST, erron jett wrote: >ok i'm useing freebsd 2.2.5 as a firewall, gateway for my local lan, it >is connected to the internet via cable modem. is there away to make the >ftp redirect to another computer on my local network? >the BSD box is 24.1.88.xx and the other box is any NT box w/16gig HD, >and its adress is 192.168.0.xxx. so is there a to redirect port 23 on >24.1.88.xx to port 23 on 192.168.0.xxx? > >thanks in advance > If you're running natd, which you must be with the setup you have, then use natd's redirect port feature ("-redirect_port 24.1.88.xx:21 192.168.0.xxx" and "-redirect_port 24.1.88.xx:20 192.168.0.xxx") and shut off the ftp service in inetd.conf. OR you could redirect_port to some unused port on the freebsd machine and people could get into NT's ftp via 24.1.88.xx:some_other_port. --Ludwig Pummer ludwigp@bigfoot.com ICQ UIN: 692441 http://chipweb.home.ml.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message