I've tried this before and had issues, but I thought I'd give it another try. I've installed an FTP server on my main computer. I'm using the latest release of FileZilla Server, on Windows XP. I can connect from any computer on my local network with no problems, but when I try to connect from a computer outside the network, the client will make connection, send and confirm the password, then try to switch to PASV mode and instantly disconnect. I've set the server to use a static external IP so it doesn't have to fight with my router, and I've told it to use a custom port range, 20800-20900, chosen because nothing else uses them. This port range is forwarded in my router, as are ports 20-22. The server is in the Windows firewall exceptions list. Due to the fact that local computers work and remote ones do not, I'm tempted to blame either the router or my ISP. Can anyone offer advice?
I'm not sure about Filezilla, but I used Bulletproof FTP through a router and it worked like a charm.
Firstly, you need 20 and 21, not 22.(thats SSH) Next : have you made sure that the forwarded ports are for TCP not udp Next : try just using active mode from outside, not passive mode Next : set the correct passive ports in the FTP client to match the passive ports on your router.
1) I wasn't sure if it was 20 or 22, but I knew it was only one digit off from 21. It's not likely the cause of my problem. 2) Actually, they're both, because much like in the above example I was too lazy to check so I did it the easy way. Once I get it working I'll fix security. 3) Good call, forcing active mode works perfectly. However, this requires me to install a good FTP client on the remote computer - no using Explorer, Firefox, or Konqueror for a quick trip to my computer if I need something. I'd like to get passive mode working if possible. 4) My preference is to use FileZilla for a client as well as my server. I can't find an option for this anywhere - can you either guide me to the option or suggest a client that offers it?
good free client : www.smartftp.com other than that, i have no idea how to set the correct passive modes in filezilla -- it could be that you have limited it to one connection? as ie at least needs two to work for FTP (odd :S) other than that.. http://sourceforge.net/docman/display_doc.php?docid=24747&group_id=21558