D
D
dinegnet2017-03-10 11:40:12
Programming
dinegnet, 2017-03-10 11:40:12

How to pierce NAT?

We have 2 applications.
Applications interact with each other.
2 computers (smartphones, etc.) on which applications are running can generally be connected to the Internet in any way.
It is clear that as a reserve there should be a method of interaction through an external server.
But, if specific conditions allow, I would like to get direct interaction, past the server. The server can be used for initial acquaintance of clients.
Strictly speaking, the names of technologies are of interest. What are the keywords for Google
Next - self.
For the universal case - any NAT.
For certain there are standard procedures of a bypass/friendship with NAT.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
1
15432, 2017-03-10
@dinegnet

TCP / UDP hole punching, lots of articles

D
d-stream, 2017-03-10
@d-stream

There is no universal. Above, the pickup option was given, but this is not always and not everywhere.
Therefore, probably the only universal option is the presence of a third party (server). The rest is to your taste:
- all interactions through the server (such as Hamachi, ammy, etc.)
- the server works only as a pimp (torrents)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question