I am looking for a piece of software that I can use to forward all HTTP connections, similar to a reverse proxy. However, unlike a typical reverse proxy, the server forwarding the requests cannot initiate connections to the backend. I am essentially trying to safely transform a server that runs on an internal network into a public server.
Essentially, this would need to work as:
- Public server listens for a socket connection from the server inside the firewall.
- The private server connects to the public server.
- The public server then starts listening for HTTP requests on the internet.
- The public server then multiplexes all incoming HTTP requests across the socket connection established in step 2, such that the server inside the firewall believes those requests came to it directly.
If I can't find this software already implemented I'll have to do it, but figured I'd ask here first.