I'm looking for an Apache module or plugin which offers me the following functionality. I have an Architecture which includes the following components:
- Internet: mobile device
- External Firewall
- DMZ: Apache based reverse proxy
- Internal Net: backend (Glassfish Application Server)
I only want to open an OUTBOUND Port in the internal Firewall (backend to reverse proxy) - the backend should send a Request to the Apache Reverse Proxy which the Proxy keeps alive. This connection should be used to establish a two-way-communication between the reverse proxy and the backend ( without opening an inbound port in the internal firewall).
The general procedure should be something like this: The backend establishes a communication with the reverse proxy when the it is instantiated. The reverse proxy holds thats request until the mobile handsets does a request against the network. Once the reverse proxy receives that request it sends it to the backend and awaits the answer of the backend.
The backend sends the calcuations or what-so-ever to the handset (over the reverse proxy). The reverse proxy uses this request and keeps-it alive to repeat that circle.
Is there a module for Apache or Nginx which delivers this "relay" functionality?