ProFTPD hangs on "227 Entering Passive Mode"
Hi all,
Thanks in advance for your help. I am new to Linux and have been researching this issue all morning. I recently installed RedHat 9 to act as an FTP server for our magazine. I have proFTPD working, yet I can only connect in the following manner: *If I use Internet Explorer connection I can connect fine and transfer files. *If I use windows command prompt I can connect and transfer files. **If I use WS-FTP Lite, I can connect but program halts and stops at LIST command. Will work if I un-check passive transfers under the advanced tab. **If I try from withing Linux, I get "227 Entering Passive Mode" - and then times out. Seems like passive mode is a problem for my server, but I have searched all over the internet and have not found a way to change that setting in ProFTPD. It appears that my server is working, which I am very happy about, but I have a MAC user that needs to connect using fetch and the user is not computer savvy and having her shutoff passive mode in fetch will be more trouble than I have time for. Thank you again for any help that you can provide. -virushater- |
Problem Fixed!!
Hello,
After many hours of research I have fixed my own problem!! In case anyone finds this post and had the same questions I had, here is how I solved this issue: in proftpd.conf, first I added: #This displays the internet address on client instead of #the local address that you are forwarding ftp request to MasqueradeAddress "xx.xx.xx.xx" (external internet address) then I added: PassivePorts 60000 65535 I then adjusted my NAT router to forward all 60000 - 65535 ranges to my internal FTP server address. Works fast and flawless. Thanks everyone who looked at my post. |
Wanted to give credit to the person where I found this solution (Tahnk You!):
http://www.castaglia.org/proftpd/doc...-HOWTO-NAT.txt |
VirusHater, Iam tryin to do the same but with QEMU and Debian Etch as Guest and Debian Etch as host. I go the same rror but i am not sure how to resolve this. I tried what you did but I am not sure what to do for the MasqueradeAddress directive.
Code:
ftp> open localhost 9021 PassivePorts 53630 53631 If that is correct then I should see something like this. Entering Passive Mode (10,0,2,2,209,126) Entering Passive Mode (10,0,2,2,209,127) Instead I still get random ports assign for the passive port range. How can I limit the server to use ports 53630 - 53631 as the passive ports? Thanks |
#load module nf_conntrack_ftp
modprobe nf_conntrack_ftp # or vim /etc/modules # add line to end of file # nf_conntrack_ftp |
All times are GMT -5. The time now is 04:42 AM. |