Allows players to join Battle.net games without port forwarding
For the last 20+ years, playing a battle.net or PvPGN game online has required port forwarding 6112 to your PC. Now there is a way around that.
If you are a PvPGN server admin, there is a way to allow all of your players to host without port forward, read on to find out how.
- Publish JSON list of all player IP address
- Take main.py and extend it to download that list of IPs, and send data to each of them periodically on port 6112 (as long as that is the port the game is configured to run on)
- Now anyone can join your game
- You would then compile main.py to an exe and ship it with the game client, run it when the game starts
- You might also want to extend this to first check NAT Type using a STUN client, this will not working on certain NAT types like symmetric NAT