Active mode doesn't work too well for almost all routers when using
non-standard ports.
Essentially, all routers (and/or firewalls) would have issues with active
mode due to the way the FTP protocol communicates. Most routers get around
this by having an Application Layer Gateway (ALG) to sniff FTP connections
on port 21. This is done so that the router can then redirect the
communications port (randomly assigned by the server you are connecting to)
back to the ftp client (i.e. you). It would be prohibitively expensive
(CPU-wise) for your router to sniff ALL ports, hence why only the standard
FTP port is monitored for PORT commands.
Your best bet is to use passive mode for FTP. Of course, you'll need to
make sure that your FTP server that you are connecting to is configured
properly for passive mode.
--
Jason Tsang - Microsoft MVP
Find out about the MS MVP Program -
http://mvp.support.microsoft.com/default.aspx
"Joseph" <(E-Mail Removed)> wrote in message
news:164501c4bbec$cadccb00$(E-Mail Removed)...
>I encountered a problem when setting up a ftp server behind
> MS web station MN-500. The web station is set to NAT mode
> and is configured properly on the port forwarding page.
> Everything works fine when I configure my ftp server to
> listen on port 21, but as soon as I change it to some other
> ports(>1024), there will be a problem when using LIST
> command under PORT mode; the client from outside can only
> login and use pwd, but cannot do ls(DIR). In other words,
> the ftp-data socket cannot be established.
> Can anyone give me a hint on what's going on? Why
> non-standard ports won't fully function?!
>
> Thanks a lot.
>
> Joseph