This doc shows how to host and play a p2p game for Astro
Before the host can start the game, they need to port-forward with their router. This essentially makes the entire internet able to see your computer and is not safe, Please know that by port forwarding you are accepting the risk of someone attacking your computer. That said, i never had a problem with it lol
Here’s a link showing how to port forward: how to port forward Make sure to use Port 7777 on UDP
So for both hosters and joiners, make sure you are playing a build that is able to be played p2p, I’ll try to mark all p2p builds with P2P at the end of them. Then, after downloading and unzipping, open the folder that contains the Astro.exe file:
Click on the path bar:
Then type cmd and hit enter:
This opens a terminal at the location of the exe:
Note that the joiner should use the IP that the hoster provides, not the one I show in the demo^
If you are playing LAN, you need to use the command prompt to find your ip:
This will print out your ip info:
Use IPv4 Address (i didn’t just dox myself, these are LAN ips only)
If you are hosting for the internet you can use: https://www.ipchicken.com/ to get your ip
Give this number to the joiners for them to put in their command prompt