From owner-freebsd-questions Tue Jul 27 11:27:11 1999 Delivered-To: freebsd-questions@freebsd.org Received: from unix.pciway.com (216-32-46-216.irv0.flashcom.net [216.32.46.216]) by hub.freebsd.org (Postfix) with ESMTP id 64F45152AA for ; Tue, 27 Jul 1999 11:27:00 -0700 (PDT) (envelope-from loren@pciway.com) Received: from localhost (loren@localhost) by unix.pciway.com (8.9.1/8.9.1) with ESMTP id LAA11112; Tue, 27 Jul 1999 11:26:56 -0700 (PDT) Date: Tue, 27 Jul 1999 11:26:56 -0700 (PDT) From: Loren Daniel Koss To: Brian Somers Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FTP through NATD.. In-Reply-To: <199907271605.RAA05395@keep.lan.Awfulhak.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 Okay, I did that and now it just hangs after it connects and tries to do a listing of the files.. What should the NATD.CONF file look like? I have: redirect_port tcp 192.168.1.20:6002 216.32.46.218:8002 It's really weird.. Thanks for your help. Loren On Tue, 27 Jul 1999, Brian Somers wrote: > > Brian, > > do you mean passive mode on the FTP server? Its a WIN NT box.. Or do you > > mean passive mode of NATD or something? Sorry I'm such a newbie.. > > Passive mode on the client side. > > Passive mode basically means that the server does not try to open up > a second channel back to the client. The NAT stuff can only handle > this sort of thing if it can recognise the ``PORT'' command going out > on the original channel (it then prepares itself for the > back-connect), but natd only looks for PORT commands on the standard > ftp port. > > > On Tue, 27 Jul 1999, Brian Somers wrote: > > > > > > > > > I am having a helluva time with this.. I moved the port of my FTP server > > > > that is behind my FreeBSD box to 6002.. I am able to connect to it from > > > > the outside just fine, except for doing any LIST, PUT, or GETs.. They get > > > > me a "INVALID PORT COMMAND" Does anyone know how to solve this?? > > > > > > If you're not using the standard ftp port, you *must* use passive > > > mode ftp (otherwise libalias won't detect and fix the port command). > > > > > > Passive mode is enabled in FreeBSD with ``-p''. > > > > > > > Thanks > > > > Loren > > > > > > > > loren@pciway.com > > -- > Brian > > Don't _EVER_ lose your sense of humour ! > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message