Php : in another machine requesting another machine on another VPN, is it possible?

Gumuruh SSPJ

New member
Correct me if I'm wrong but this is a very funny case, I guess... and I face it, tough.

Okay, let's assume we have 2 machines in a different place.
Machine A: is a public host (provided by web hosting).
While Machine B : is an internal machine (could be accessed by VPN).

I wonder, If we put our PHP files into Machine A.
Meanwhile, the scripts inside is actually accessing the Machine B internally,
But, the user who browse the php file is already connected to the VPN.

Would it be possible to establish the connection?
Since the php file is stored in Machine A, whereas Machine A itself didn't connected to the VPN where Machine B pointed into. At the moment, the user who access that Php file using its own laptop (or pc), which is already connected to that VPN.

Oh really, I confused. :(

~ Need an explanation.
 
Back
Top