networking - Is it possible to redirect TCP connections -


given following scenario:

  • computer connects public server behind firewall.

  • computer b connects same public server behind firewall.

now, there way computer talk directly computer b using outbound connections without sending data through server?

can server link connections somehow?

two peers, talking each other, using outbound connections instead of dealing inbound firewall issues.

possible, yes. easy, no.

at least 1 of firewalls needs updated forward port on external ip port on machine behind it. other machine can connect port open bidirectional tcp/ip connection.

to accomplish this, can make use of upnp on firewall accomplish "hole punching" or "nat traversal".

once firewall port open, forward port number on public server , pass along public ip address known server along other machine. can create connection.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -