Windows Server 2003 Passive FTP beyond (NAT/Firewall)


May I ask some help regarding configuration of Windows Server 2003 Passive FTP beyond (NAT/Firewall). My setup has only one public IP and the NAT/Firewall is enabled. DSL internet connection and port 21 is open in the firewall.

Internal network works fine but accessing the FTP outside also works only if you uncheck the "Use Passive FTP (for firewall and DSL modem compatibility)" option in the Internet Explorer.

Experts is there someting that I forgot to configure?

Thank you.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi marvelsoft,

Try opening port 20 on the firewall as well.  

Chris DentPowerShell DeveloperCommented:

Passive FTP only uses Port 21 for the initial connection, after that it shifts it onto a high-numbered port. Since you only have port 21 open it's very likely that there's no way for the traffic to get through. The default port range for this is really very large (just greater than 1023).

Fortunately things can be simplified considerably, if you're using IIS on there then it's possible to define the range of ports you want to use for FTP like using ADSUtil (Defaults to C:\InetPub\AdminScripts):

adsutil.vbs set /MSFTPSVC/PassivePortRange "5500-5700"

Where 5500 to 5700 is the range you want to set.

Fully documented here:



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.