Onto your question.
I guess if I had to make a guess I would enable some sort of sharing between my iPhone and Mac via the web. I'd probably use Safari. I can do that locally on my own network and probably if you open some ports (that I would have no clue how to do) and firewall stuff then you can probably achieve this outside your local network.