Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2001 01:21:22 -0400
From:      Jim Freeze <jfreeze@freebsdportal.com>
To:        Nathan Mace <nmace85@yahoo.com>, questions@freebsd.org
Subject:   Re: How to get FTP working for 4.4R
Message-ID:  <20010930012122.A1187@rabbit.lxintn1.ky.home.com>

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

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




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