Passive FTP on Windows Server 2003 with Windows Firewall.

Friday, December 19, 2008 19:05
Posted in category Windows Server 2003

It’s on the net everywhere… But I still get a lot of questions on how to enable Passive FTP on a Windows Server 2003 machine with Windows Firewall enabled.

Without further adue..

C:\Inetpub\AdminScripts\adsutil.vbs set /MSFTPSVC/PassivePortRange “5500-5700″
FOR /L %I IN (5500,1,5700) DO netsh firewall add portopening TCP %I “Passive FTP Port “%I

You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.