I have installed Debian Squeeze on a Windows computer with Oracle Virtualbox. Then I've port forwarded port 21 on the NAT adapter.
In Debian I've run:
apt-get install proftpd
Then I uncommented the PassivePorts so I have the ports 49152 to 49155 available as passive ports. Then I uncommented MasqueradeAddress and set it to 127.0.0.1
Then after trying to Quick Connect in FileZilla I get:
Status: Connecting to 127.0.0.1:21... Status: Connection established, waiting for welcome message... Response: 220 FTP Server ready. Command: USER webserver Response: 331 Password required for webserver Command: PASS * Response: 230 User webserver logged in Command: OPTS UTF8 ON Response: 200 UTF8 set to on Status: Connected Status: Retrieving directory listing... Command: PWD Response: 257 "/" is the current directory Command: TYPE I Response: 200 Type set to I Command: PASV Response: 227 Entering Passive Mode (127,0,0,1,192,3). Command: MLSD Error: Connection timed out Error: Failed to retrieve directory listing
How can this be fixed? It seems that it's something related to the VM, (running on the same machine right now), because all tutorials out there suppose it should work after just running the