Date: Sun, 30 Sep 2001 01:46:25 -0400 (EDT) From: Joe Clarke <marcus@marcuscom.com> To: Jim Freeze <jfreeze@freebsdportal.com> Cc: Nathan Mace <nmace85@yahoo.com>, <questions@FreeBSD.ORG> Subject: Re: How to get FTP working for 4.4R Message-ID: <20010930014101.T29882-100000@shumai.marcuscom.com> In-Reply-To: <20010930012122.A1187@rabbit.lxintn1.ky.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 30 Sep 2001, Jim Freeze wrote:
> Thanks for the help.
> It turned out to be a firewall rule afterall.
>
> I now have in my ruleset the following:
>
> ${fwcmd} add pass tcp from any 20 to any 1024-65535 setup
> ${fwcmd} add pass log tcp from any to any 21 in via ${oif} setup
>
> These two lines come before the divert rule:
>
> ${fwcmd} add divert natd all from any to any via ${natd_interface}
>
>
> FTP now works, but, I cannot get a directory listing.
> from the ftp> prompt, the dir command hangs indefinetely.
>
> pftp and ftp -p do the same thing.
Both commands you're trying here do passive FTP. Have you tried using
active FTP (i.e. ftp with no -p option, and typing passive at the FTP
prompt to make sure passive is off)?
I allow connections to ftp-data from outside the firewall for active FTP.
Joe
>
> Does anyone know the how to get dir to work, either with
> or without passive ftp.
>
> Thanks
>
> Jim
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
>
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?20010930014101.T29882-100000>
