Can I use squid (or anything) to do this?

Posted by user269334 on Server Fault See other posts from Server Fault or by user269334
Published on 2012-06-06T10:32:57Z Indexed on 2012/06/06 10:43 UTC
Read the original article Hit count: 149

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: 1. The good computer connects to the VPS (and keeps the connection alive) 2. The users connects to the VPS, and sends http(s) requests to the VPS. 3. The VPS just passes that http(s) requests to the good computer (including some identifications, so the servers can distinguish connections) 4. The good computer passes that http(s) response to the VPS 5. 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.

Thanks in advance : )

© Server Fault or respective owner

Related posts about networking

Related posts about linux-networking