I've followed all instructions at http://learn.iis.net/page.aspx/309/configuring-ftp-firewall-settings/ in an attempt to make this working, but I'm still failing.
The (MikroTik) router at my public IP (for the sake of example: 10.10.10.1) translates all incoming requests on port 21 to my private IP (for the sake of example: 192.168.0.2) again on port 21.
On the global level of the IIS manager, I have specified 10.10.10.1 as the IP, and left the port range to 0-0. I made sure the FTP site also has the same external IP configured.
Accessing the FTP (with FileZilla) in either active or passive mode results in the message:
150 Opening BINARY mode data connection.
After which the client hangs until finally it receives a timeout error.
I tried to adjust the port range in the IIS manager to 5000-6000 and made the router redirect all incoming requests on those ports to the same ports on the server. The result is the same.
Windows Firewall has been turned off for all profiles in both cases (just in case).
The server works properly from the local network (the 192.168.0.0/24 subnet), but not outside of it.
What am I doing wrong? Any ideas?
[edit]Solved. I had to specify EXACTLY the port range in the example, NAT that, and configure the Windows Firewall to allow the FTP service to use all ports it wants.[/edit]