Advertisement

Multiplayer without port forwarding

Started by March 09, 2016 02:40 AM
2 comments, last by Pokerjoker 8 years, 8 months ago
Hey guys,

I was wondering how Games like Terraria's new multiplayer works, as in before that big update last year, a multiplayer server required portforwarding but now people can just invite there friends to play a game and it requires no portforwarding what so ever.

So what I am wondering is why doesn't it require portforwarding and how does that way work, as I assume they are using some sort of tech valve has, like steamworks?

Cheers

Edit:
https://partner.steamgames.com/documentation/api

So I was looking around, is it peer to peer

Almost certainly they implemented NAT punchthrough and/or UPNP.

See the Forum FAQ entry #9 for links to reading material.

Advertisement
If it's a Steam game and you're using the Steam SDK it's all done for you. Steam does the tunneling and packet reflection for you. It uses libjingle for nat-punch-through, and dedicated relay servers.

Everything is better with Metal.

Cheers

This topic is closed to new replies.

Advertisement