How to connect to servers in private network?
I'm developing a MOBA game, say I have 100 VPS in an IaaS cloud, 1 of them is a login server which has a public IP address, the other 99 are UE4 dedicated game server and only have private IP address. When login server receives request to create a new game session, it spawns a new instance on 1 of the 99 game servers.
Now here is the problem, how the client connect directly to the newly created game session?
Google shows some results:
Unity is using the NAT Punch-through approach, but unfortunately some posts in UE4 forum says UE4 has no built-in support for this right now, so one must implement it by himself (good news there are middlewares like RakNet can do this).
This seems like a common problem to all MOBA genre games, so I wonder how they handled this. Should I go the NAT Punch-through path and integrate RakNet into my UE4 project? Or there are some better solutions I'm missing?
asked Dec 24 '14 at 03:37 AM in Everything Else
Follow this question
Once you sign in you will be able to subscribe for any updates here