(E-Mail Removed) wrote:
[snip]
> So, what am I doing wrong? I know FTP is odd in some ways and can be
> difficult to make work but surely it should be possible.
It is possible - but it depends on the FTP server and router.
The bottom line is that there should be no problem getting "active" FTP
to work (with just forwarding of port 21) for a server behind a NAT
router, but "passive" FTP often causes problems.
Unfortunately, a lot of client software defaults to passive mode because
this is most likely to work with the client behind a NAT router.
However, active FTP is normally fine - NAT routers are invariably
capable of modifying the PORT command usually sent by a client.
To get passive FTP to work from a server behind a NAT router, either the
router needs to modify the server's response to the PASV command
(similar to modifying a client's PORT command) or you must be able to
configure the address the server gives in the PASV response, control the
range of ports it will use, and configure the router to forward those
ports in addition to port 21.
Where it is an option (and it sounds like it is for you), I would
recommend forgetting FTP entirely, instead using scp/sftp for private
files and HTTP for public ones.
Alex