I have a very specific problem that I am trying to resolve and have been pointed in the direction of using a proxy server to accomplish it. Apologies if this is a dumb question but I have no working knowledge of proxies but plenty of knowledge of TCP/IP & networking in general.
The scenario is as follows:-
On a private network a windows client wishes to send a file via active mode ftp to a remote ftp server located elsewhere on the internet. The client's default gateway router is attached to the Internet but with a very locked down config that cannot easily be altered. There are very limited open ports both outbound and inbound and there cannot be vast swathes of open inbound ports, that is just not allowed.
The big issue here is the Active Mode FTP but that cannot be changed as it is embedded in a commercial application that we just have to work with.
With the current non proxied setup, when using active mode FTP the client connects from a random local port (x) to the server ftp port (6001 in this case) and authenticates itself. The server then attempts to connect back to the client on port (x+1) for the actual data transfer. The problem is that port (x+1) isn't open for inbound traffic on the clients gateway router and as a result it fails. We have no way to control the random local port number that is used when initiating the connection and therefore have no way to make this work, all we can control is the port number to connect to on the FTP server.
Would a proxy server help in this situation, I am led to believe that it would but I don't know how myself, can you help enlighten me ?
Would using a proxy essentially enable the ports used between the client and proxy to be fixed and thus configurable in the gateway router config while the proxy to FTP server comms happens outside the firewall without the port restrictions ?