none
Tried to post this but told it was marked as spam??????????????? RRS feed

  • Question

  • Windows Server 2016 - General

    Server 2016 - FTP behind a NAT - Failed to retrieve directory listing

    I am trying to setup an IIS FTP server on Windows 2016, works fine locally but when I try externally the Filezilla client logs in ok, but then displays "Error: Failed to retrieve directory listing" and after 20 seconds or so drops the connection. I think I'm getting my ports / addresses etc mixed up so to explain my setup:..

    My external IP is behind a router that I have no access to.  The external facing ip address is 111.222.333.444 and port 6400 has been setup for FTP (obviously fictitious address info).  Port 6400 is being forwarded to an internal IP address, let's say 999.999.999.999.  That's as much as I've been told anyway.  For now I've disabled my local windows firewall to rule it out.

    From what I've read on this so far (which is a lot), the problem appears to be the port range used in passive mode is being blocked, but think I've got confused what addresses and ports to use in my local FTP config.

    1 - FTP Firewall Support (At the Server level in IIS) - I've used range 0-0, and specified 111.222.333.444 as the external IP - Q: Is that correct or should I use 999.999.999.999 and assume port forwarding will route the traffic?

    2 - Bindings on my FTP Site - I've set it to 111.222.333.444 port 6400. Q: Is this correct or should I use port 21 and again assume the port forwarding will route it to port 6400?

    3 - Do I need to ask the router guys to open a range of outbound ports for me?

    Sorry for the long winded explanation, hope someone can help.

    Friday, January 18, 2019 4:55 PM

Answers