Idea

Jose Fernandez avatar image
Jose Fernandez suggested

P2P Support / NAT Punchthrough or similar functionality

Hello,

A feature necessary to most games comprised of 4 players or less is that of NAT Punchthrough, which I was surprised to find out wasn't supported in PlayFab. Games that involve two players (fighting games, etc.) or are primarily PvE (Borderlands 1/2), or are P2P for whatever other reason (COD), need this feature if they ever wish to deploy cross platform. This is because if a game is launched without a subsystem that supports NAT Punchthrough, clients would most likely be required to port forward in order to host their listen server. So in essence, if you deploy to Steam or GOG, you're fine because they provide NAT Punchthrough. However, if you deploy outside of Steam, say to EGS (I believe) or your own solution, your clients won't be able to connect unless they port forward or you deploy your own NAT solution.

This feature is present in competitors like BrainCloud (relay servers) and GameSparks (not explicit NAT Punchthrough but they establish a websocket connection to each player giving you basically the same functionality), and it's not exactly an expensive feature to add. However it makes a critical difference if you're using an Online Subsystem (or lack thereof) that lacks this functionality.

support
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Arzoo avatar image Arzoo commented ·
0 Likes 0 ·

2 Comments

·
brendan avatar image
brendan commented

Actually, there is no NAT punch-through system in existence that can handle all NAT types. Strict-to-strict NAT connections, in particular, are simply not possible. All services that provide guaranteed connection between all players in P2P use relay servers where that connection is impossible.

Second, IP Addresses are considered PII in some regions, which increases your risk when using P2P.

And finally, there has been a steady increase in attacks on individual player IP addresses, when they are exposed. This is exacerbated by the fact that there are multiple online sites you can now go to, to pay a few USD to DDoS any IP Address you like. So if someone's beating you in a game and you want to win, you can just ruin their internet connection temporarily.

For all those reasons, we chose to go with relayed packets for all communications with Party to start. But that said, we're very aware that a subset of games require P2P, so that is already an option in that service. If you are comfortable taking on the risk implied with using P2P and believe it is required for your game, just open a ticket with out support team.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Arzoo avatar image Arzoo commented ·

My email address hacked help me reset password

0 Likes 0 ·
Arzoo avatar image
Arzoo commented

arzookhan5792@gmail.com reset password

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write a Comment

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.