To punch the whole, isn't there a TURN server or something? How do you establish a p2p connection if one of the devices is behind a NAT?

Replies (5)

Exactly why it's called holepunch. It fuzzes firewall protocols with certain packets and timing to convince firewalls that it's an acceptable stream of data regardless of the firewall settings. I saw a conference talk on it a while ago. It was super interesting
I don’t know the details well enough to explain it, but it’s got something to do with a rapid two-way port guessing game to trick your way through the firewall because both sides are participating. Mafintosh tried to explain it but I couldn’t follow exactly. I just have found that it seems to work every time, it connects really fast, and everything suggests nobody is running any specific server and that I’m not connecting to any in order to make it work. The only thing I’ve seen is that some people behind really unusual combo of business networks, firewalls and VPN have reported some issues before, but I’ve not experienced it personally. In fact it’s the only thing that still works even if both of my machines are on separate VPNs. RustDesk, which has a central server, fails to connect when my Linux is behind a VPN.
👋 A new block was found on the #Bitcoin network. We're at block height 861468, current #bitcoin price is $59855.06 and there are 124539372690011 #sats left to mine.
【石川県 気象警報・注意報 2024年09月16日 04:42】 能登では、16日夕方まで高潮に注意してください。加賀では、16日昼過ぎから16日夜のはじめ頃まで急な強い雨や落雷に注意してください。 #気象警報注意報 #石川県 image