Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Mar 1998 11:48:01 -0800
From:      Ludwig Pummer <ludwigp@bigfoot.com>
To:        "erron jett" <erron@hotmail.com>, questions@FreeBSD.ORG
Subject:   Re: redrecting FTP
Message-ID:  <3.0.3.32.19980329114801.00706828@mail.plstn1.sfba.home.com>
In-Reply-To: <19980329090737.22981.qmail@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.3.32.19980329114801.00706828>