This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DNAT and FTP

I've setup a DNAT rule for FTP so that I can use port 2100 for FTP. I'm accessing FTP on a Windows server which is also port 2100.

So it works for making the connection but when I use dir I get;

500 'EPSV' comand not understood.

It has to be something through the firewall because if I make the same connection from inside the network it doesn't have a problem.

Can anyone help?


This thread was automatically locked due to age.
Parents
  • You know FTP needs at least 2 ports, right?

    Barry
  • I can't say i have a clear understanding of FTP. I see that FTP seems to use 20 and 21 but in all the software I use, either the Windows FTP server or the Windows or Unix clients on the outside, I can specify a change for only port 21 it seems. 

    I tried creating a rule to pass port 20 as well (assuming that I hadn't changed it anywhere) but this did not work so I'm quite sure what to do.
Reply
  • I can't say i have a clear understanding of FTP. I see that FTP seems to use 20 and 21 but in all the software I use, either the Windows FTP server or the Windows or Unix clients on the outside, I can specify a change for only port 21 it seems. 

    I tried creating a rule to pass port 20 as well (assuming that I hadn't changed it anywhere) but this did not work so I'm quite sure what to do.
Children