Question: how to play minecraft with a friend far away?
Answer: Open up Minecraft, and join your single-player world.
Press the escape key to open up your Game Menu.
Press “Open to LAN”, then select if you want to allow cheats and what game mode you want the other users to have, then press “Start LAN World”.