Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You cant make a p2p connection over a NAT without exposing a port on the public side of the NAT.


Go check out STUN and ICE.

The best article I've found about NAT traversal is this article from Tailscale: https://tailscale.com/blog/how-nat-traversal-works


Not bad, though you don't even need STUN or ICE;

https://github.com/samyk/pwnat

https://github.com/samyk/slipstream



That uses WebRTC, which uses the same NAT traversal tricks.


is there a filesize limit for this?



You aren't guaranteed to be able to do that but in practice most times you can.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: