How I can get remote access from a client through a proxy on the server?

Version 1

    Following situation:

    _____________            ____________              _______

    | Jboss server |  <---->   | Proxy server |  <----->  | Client |

    -----------------------            ----------------------             ------------


    I want to communicate from my client through the proxy to my jboss server.

    On my jboss server a simple ejb is running.

    And I want to have remote access from my client app through the proxy server to my simple ejb.

    The ip address of the jboss server is: 10.7.97.48. And I'm able to ping it from my client.


    My questions are the following:

    How I can find out for sure on the client side, what is the correct ip address of the proxy?

    How I have to configure my client application to get remote access through the proxy to my ejb?