"Andrey P." <(E-Mail Removed)> wrote in messagel...
>Hello,
>
>I have a small problem on some of my servers: Win2003 Server SP1 all the
>patches installed. Windows firewall is enabled, ftp.exe is >allowed to
>connect, port tcp:21 is opened from outside but I cannot create *outgoing*
>ftp connection neither in active nor in passive mode:
>
>~~~
>D:\>ftp ftp.cdrom.com
>Connected to cdrom.wip.digitalriver.com.
>Connection closed by remote host.
>~~~
>
>Sure, switching off firewall solves the problem.
Remote FTP server tries to make a connection back to you (after you make an
initial connection to it over tcp 21) on a high port > 1023 which windows
firewall is blocking. I don't think you want to open all those ports. If
you upgrade to RRAS, the NAT in RRAS (Windows 2003) has active FTP
translation support, but you have to enable it with:
netsh routing ip nat add ftp
This is documented here (watch out for long URL wrap):
http://www.microsoft.com/technet/pro...f4e9f04df.mspx
--
Todd J Heron, MCSE
Windows Server 2003/2000/NT; CCA
----------------------------------------------------------------------------
This posting is provided "as is" with no warranties and confers no rights