Communication between two computers without opening ports, using a third computer to set up the connection

后端 未结 5 1906
南笙
南笙 2021-02-03 16:19

Let\'s say I have a server, and two clients connected to it. (via TCP, but it doesn\'t matter)

My goal is to allow a direct connection between those two clients. This is

5条回答
  •  忘了有多久
    2021-02-03 17:00

    I'm not aware of any way to reliably punch through firewalls for TCP, but there's a similar method for UDP traffic that's pretty well documented:

    • http://en.wikipedia.org/wiki/STUN

    • http://en.wikipedia.org/wiki/UDP_hole_punching

提交回复
热议问题