I have a really crappy VPS, and a really good computer at my office (with a really good internet connection), but behind a NAT.
Is it possible to expose my good computer by doing this:
- The good computer connects to the VPS (and keeps the connection alive)
- The users connects to the VPS, and sends http(s) requests to the VPS.
- The VPS just passes that http(s) requests to the good computer (including some identifications, so the servers can distinguish connections)
- The good computer passes that http(s) response to the VPS
- In turn, the VPS receives the http(s) response, and passes back to the client.
Is it possible to do this? (btw, the VPS and the good computer are located in different countries)
And also, is this "reverse proxy"? I heard that reverse proxy is for protecting the internal network by putting a middle server.
And will this affect SSL configurations? (or make SSL impossible?) I'm intending to run nginx on the good computer.