LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Vsftpd PASV mode is there such a thing? (https://www.linuxquestions.org/questions/linux-software-2/vsftpd-pasv-mode-is-there-such-a-thing-124997/)

lawman 12-11-2003 03:15 PM

Vsftpd PASV mode is there such a thing?
 
Hi all,
I am getting really frustrated with vsftpd, I have searched and read but can find no real definitive solution to my problem. I think I have tried everything but a small animal sacrifice.
Let me give you my setup. I am running RH 7.3 behind a Linksys router /cable modem. I have ports 20-25 open and forwarded to my Linux box. I can ftp fine in Active mode but I get this when in PASV.

PWD
257 "/"
TYPE A
200 ASCII tastes bad, dude.
PASV
Connection aborted
Unable to open data socket


What gives?

Here is my vsftpd.conf or at least everything uncommented

local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
chown_uploads=YES
xferlog_std_format=YES
ascii_upload_enable=YES
ascii_download_enable=YES
chroot_local_user=yes
pam_service_name=vsftpd


Can someone save an old guy some grief?
Thanks in advance

linuxboy123 12-11-2003 06:01 PM

Doesn 't PASV ftp need to use the extreme high port numbers to communciate too?
Maybe you should open 30,000 and up and see if that helps.
I know that most linux distros us the extreme high port numbers to do some of their initial communication.

Hope this helps.

lawman 12-12-2003 09:56 AM

Well, linuxboy it sounded like a good idea. But I opened up everything from 10000 to 65535 and no go. plus I added
pasv_max_port=65535
pasv_min_port=60000
to the vsftpd.conf file
and nothing.

This has to be some firewall/router issue because PASV works fine from a local system.


All times are GMT -5. The time now is 02:27 AM.