nim-libp2p icon indicating copy to clipboard operation
nim-libp2p copied to clipboard

Implement Nat traversal

Open dryajov opened this issue 4 years ago • 3 comments

dryajov avatar Dec 07 '19 00:12 dryajov

Would adding upnp/nat-pmp support be enough or actually we are talking of stuff like STUN ( would require UDP transport too for example) ?

sinkingsugar avatar Feb 04 '20 01:02 sinkingsugar

upnp/natpmp would be enough - we're using https://github.com/status-im/nim-nat-traversal - at some point in a distant future we might do a pure nim version as well, but that's not too urgent.

I'd actually really want to see a udp-based transport as well - and there are efforts in the libp2p community to define what the interfaces to such transports should look like so they remain interoperable - we'd do well in joining those efforts

arnetheduck avatar Feb 04 '20 08:02 arnetheduck

Hole-Punching has been implemented for TCP: #826

Remains to add a UPnP / PmP solution, like nim-nat-traversal, or nim-nat-mapper (a WiP pure nim library)

Menduist avatar Oct 12 '23 09:10 Menduist