Discuss (FTP), (FTP on .NET CF) and (FTPS, SFTP and SCP).
no avatar
User

subimal

Posts

7

Joined

Mon Sep 22, 2008 8:16 pm

windows firewall and passive mode port range

by subimal » Mon Jan 11, 2010 5:58 pm

I want setup the ftp applicatin under a windows firewall.
The connection mode is passive.
I want to give a range of ports which are opened in the firewall.
I have found active port range for active mode connections.
But not at all for passive mode connection.

How do I set a range of ports which are opened in the firewall in passive mode connection.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: windows firewall and passive mode port range

by support2 » Tue Jan 12, 2010 8:49 pm

Passive ports must be specified in the server, not the client.
no avatar
User

subimal

Posts

7

Joined

Mon Sep 22, 2008 8:16 pm

by subimal » Tue Jan 12, 2010 9:19 pm

As you said passive ports must be specified at the server not the client, you are right.
I can set passive port range in the server. These ports are in the server and through these
ports ftp server will communicate. But this is the settings at the server side. Where server is
behind any firewall.

But my question is, my ftp client application(using enterpriDt) is also behind a firewall.
And my requirement is the client side firewall will open up some ports and through these
ports the client application will communicate with the server. That means my client application
will have some permission to use specific range of opend ports at the client side.

To sum up there are some ports opend at server side, suppose(4000-4010).
------- This is server side setting and no problem with that.
But there are also some ports opend at client side, suppose(5000-5010).
----- and my client application will have to use (5000-5010) ports at the client side to communicate
with the server.

So how do I achive this in my client application to communicate with the server using some
client side opend ports(5000-5010)??????
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Wed Jan 13, 2010 7:51 am

Normally you don't care about the client ports on outbound connections. So you would permit any ports to be outbound from the client to the server's passive port range at the server's IP address.

Who is online

Users browsing this forum: No registered users and 28 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron