Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
5.2k views
in .NET FTP by (300 points)
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.

3 Answers

0 votes
by (162k points)
Passive ports must be specified in the server, not the client.
0 votes
by (300 points)
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)??????
0 votes
by (162k points)
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.

Categories

...