vsftpd Error: Failed to retrieve directory listing
hey, im trying to setup an ftp server with vsftpd, it worked find untill suddenly it said "Error: Failed to retrieve directory listing". Im using port 442 atm, but it doesnt work on 21 either.
heres the connection log: Code:
Status: Connecting to xx.xxx.xxx.xx... |
btw, it works on the local ip, but it doesnt work on the external ip. The ports are open
|
[QUOTEjensge994]btw, it works on the local ip, but it doesnt work on the external ip. The ports are open[/QUOTE]
I'd be willing to be the router isn't handling all the ports correctly. If you haven't seen it already, this article give an excellent explanation of both passive and active FTP and what ports need to be open to do it. I know on my FTP server not only do ports 20 and 21 have to be forwarded, but I need to lock vsftpd passv ports down to a set range and then forward those from the router as well. |
passive throttling and passiv ports work! thanks
|
Issue Resolved
Check for solution.
Make sure port 20, 21 and few more ports, for example 4242-4243, are being forwarded to the server. We will need these extra ports for passive mode - set pasv_min_port and pasv_max_port accordingly in the configuration file. Add following to /etc/vsftpd.conf . connect_from_port_20=YES pasv_enable=YES pasv_addr_resolve=YES pasv_address=myaddress.dyndns.com pasv_min_port=4242 pasv_max_port=4243 Thanks Ram |
All times are GMT -5. The time now is 02:14 PM. |