vacp2p / nim-libp2p

libp2p implementation in Nim
https://vacp2p.github.io/nim-libp2p/docs/
MIT License
249 stars 54 forks source link

Implement Nat traversal #51

Open dryajov opened 4 years ago

sinkingsugar commented 4 years ago

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

arnetheduck commented 4 years ago

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

Menduist commented 11 months ago

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)