Is it possible to connect iPhone through NAT bypass technologies over 3G for peer-to-peer games of equal level

Is it possible to connect the iPhone to another iPhone or any other network client that talks about this game protocol.

I thought I could use the same NAT Traversal method used by the XBox 360 to host games on XBox users through firewalls.

To effectively bypass NAT, I must have a central server that will allow the "translation" clients that they host so that another client can initiate a NAT connection. In the specified link, this is called relaying.

Is there any internal limitation of the AT & T 3G network that blocks NAT bypass methods (can I limit the use of NAT traffic to the wifi firewall)?

NAT Traversal projects: - PJSIP - providing NAT bypass features using standard protocols such as STUN, TURN and ICE. - Freecast using Apache MINA Java Network Library for NAT Traversal

+4
source share
4 answers

iPhone OS 3.0 will have an API for multiplayer games and connect to more devices in your immediate area,

β€œYou can find other iPhones and iPod Touches in this area who play the same game as you, Forstall gives an example of two children at the back of the car. IPhone 3.0 will automatically detect other applications via Bluetooth and there is no pairing.” Completely seamless, "he promises. Bonjour is the underlying technology behind this, and it's not just for games."

Sources: CNET Live Blog and Apple Quicktime Video Special Event This is about 20 minutes in the presentation.

If you intend to do anything more than play with nearby devices, you are likely to run into bandwidth problems on the 3G network, as well as delays depending on where the users are located. Boonies with a very sporadic 3G coverage compared to the central city of a US city with several honeycomb towers concentrated in a small area. You may also encounter an AT&T problem depending on how much data the game sends and receives from the phone over the 3G network, since multi-player games require the players and server (even if it was a player acting as one) to send information back and forth constantly. Interesting idea though!

+2
source

Yes it is possible.

Eyeball Networks Releases iPhone NAT Traversal SDK

+1
source

AT & T seems to be using randomized, symmetric NAT - this means that traversal is not possible between the 2 iphones on their network without a relay server. What I don’t know is if the AT & T iPhone can directly access each other using their private addresses, if they are on the same part of the AT & T network, or if there is any kind of firewall. The last time I checked that TMobile uses NAT with limited access to ports, a bypass is possible between the iPhone on TMobile, but not from TMobile to AT & T.

+1
source

3G is a big problem. If you want to establish UDP connections with other players over 3G, you can try this technique:

https://drive.google.com/file/d/0B1IimJ20gG0SY2NvaE4wRVVMbG8/view?usp=sharing

0
source

All Articles