holepunchto / hyperswarm

A distributed networking stack for connecting peers.
https://docs.holepunch.to
MIT License
1.06k stars 85 forks source link

Hole punching with a mobile connection and carrier grade nat #63

Closed atbentley closed 1 year ago

atbentley commented 4 years ago

Looks like the hole punching in beaker browser (and presumable hyperswarm?) does not support networks using carrier grade nat (CGN / CGNAT).

Mobile connections (3G / 4G / LTE / 5G) are commonly put behind carrier grade nats.

I'm opening this issue to track what the project's intentions are in supporting hole punching for devices on these types of networks, so that other people searching can stumble on this.

davidmarkclements commented 4 years ago

personally I think that would a super awesome thing to have, I also wouldn't know where to start. Any extra info highly welcome

atbentley commented 4 years ago

For those following along on github, @mafintosh and I spent some time debugging this over on discord. We were able to get hole punching working on my connection with some hacked together scripts.

RangerMauve commented 4 years ago

@atbentley Would you be able to post the scripts here? Or is this something that's going to be merged into hyperswarm?

innerexception commented 3 years ago

🙏 📿

wolfsgrove commented 1 year ago

Any progress on this?

mafintosh commented 1 year ago

Mobile connections work fine. Double randomised nats is the only case it doesn’t support in latest major