Would a typical corporate firewall block a Java applet having the following behaviour

Posted by auser on Programmers See other posts from Programmers or by auser
Published on 2012-09-30T22:46:56Z Indexed on 2012/10/01 3:51 UTC
Read the original article Hit count: 279

Filed under:
|

I'm thinking of developing a proxy-like program to forward ports on a remote PC to a local PC (for example SSH). Assume that both local and remote PCs are running behind typical firewalls (i.e. consumer broadband router firewall, Windows firewall or corporate firewalls).

The program will be a Java program which the user will run on both the remote and local PC. The remote client will periodically poll a central server to determine whether there are pending client connections. A session could be initiated as follows:

  1. The local client contacts the central server and request the current connection details for a specific remote client.
  2. The central server responds with the remote server's last received IP address and port.
  3. The next time the remote server polls the central server, the client's IP address and port are returned. The remote server initiates a connection to the local client using the IP address and port returned by the central server and listens for a response on a random port. The remote server will pass the value of the port it's listening on to central server.
  4. Goto 1, if client fails to connect to server.

Would this work or will a typical firewall block the interactions.

© Programmers or respective owner

Related posts about java

Related posts about networking