Establishing Peer-to-peer connection

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Maksanty

Hi! I’m wandering if I can establish a peer-to-peer connection between several computers over Internet. Currently I can do it using port forwarding, but I want to do it without port forwarding. There are plenty of games on Steam that can connect that way. Is there a way to do it with Godot?

:bust_in_silhouette: Reply From: omggomb

I think you’re looking for NAT Punchthrough. This way both computers connect to a master server, which then tells them to which port and ip to send directly (the P2P part).
This is a good explanation:
NAT Punchthrough for multiplayer games

Can it be made in Godot? If yes, then how?

Maksanty | 2019-03-10 21:06