Re: ProFTP
From: Paul Mather (paul_at_gromit.dlib.vt.edu)
Date: 04/28/04
- Previous message: Drew Tomlinson: "Re: Perl Help For Newbie"
- Maybe in reply to: Jason Suplizio: "ProFTP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Apr 2004 11:52:06 -0400 To: freebsd-questions@freebsd.org
On Wed, 28 Apr 2004 00:11:22 -0700, "Jason Suplizio" <suplizio@blarg.net> wrote:
=> Please help: I've spent a good 4-5 hours trying to get ProFTP up
=> and running on my fresh FreeBSD 5.1 install - during which I have read
=> everything that I could get my hands/eyes on and tried every trick I
=> could find. Essentially, I am trying to set up ftp accounts for 3
=> users, each with there own unique username/password login - which are
=> working as verified by ssh - to use as a java servlet dev box.
=>
=> The problem: I can not establish an FTP connection to port 21. When
=> it appears that I have an ftp connection, there is no directory
=> listing nor a list of the remote files. I have a small firewall
=> (built-in to my router), and have opened up ports 20 & 21. At one
=> point I got a "PAM(username) authentication error" - but everything
=> looked good (to my eyes) in the /etc/pam.d/ftp & ftpd files.
If your FTP server is behind a firewall/router (and your clients are,
too), it's likely you are having a problem getting passive FTP
working. Your firewall is probably blocking the passive port range
the FTP server is using for the data connection. The solution is to
open up these ports, too.
To help play nicely with firewalls, ProFTPD includes a "PassivePorts"
directive that can be put into proftpd.conf to define the range of
ports it will use for PASV transfers. If you add something like
"PassivePorts 52300 52323" to proftpd.conf, the FTP server will only
attempt to bind to ports 52300-52323 for PASV transfers. You can
then configure your firewall to allow through incoming traffic in that
range to the FTP server.
Cheers,
Paul.
e-mail: paul@gromit.dlib.vt.edu
"Without music to decorate it, time is just a bunch of boring production
deadlines or dates by which bills must be paid."
--- Frank Vincent Zappa
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Drew Tomlinson: "Re: Perl Help For Newbie"
- Maybe in reply to: Jason Suplizio: "ProFTP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|