Hey guys,
I am trying to figure out how to establish a peer to peer network over the internet.
My findings so far:
- P2P connections need the network address of both clients
- Clients connect to various NAT endpoints, it's not possible to get a concrete IP and Port of the clients (to connect them), because NAT routers neither allocate IP addresses per device nor forward ports to devices.
- There are solutions like TURN or STUN server
- STUN only works if the client doesn't use a symmetric NAT for connection to the internet
- TURN needs much more computing power and doesn't solve the peer2peer problem, because it only relay the requests between two clients and does not establish a connection between two clients
- What type of NAT do mobile networks have like 4G or 5G?
Are there any further ideas regarding those points?
Did i miss something?
Is it possible to establish a connection between two mobile devices only with a STUN server?
No comments:
Post a Comment