News for hackers. Stuff that matters.
Re:Magic Wormhole: get things from one computer to another, ... by from-nibly on Saturday August 17, 2024 @04:45PM (#41277819)
You cant make a p2p connection over a NAT without exposing a port on the public side of the NAT.
Re:Magic Wormhole: get things from one computer to another, ... by kccqzy on Saturday August 17, 2024 @06:31PM (#41278549)
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

Re:Magic Wormhole: get things from one computer to another, ... by jvansc on Sunday August 18, 2024 @01:36AM (#41280333)
Re:Magic Wormhole: get things from one computer to another, ... by yownie on Sunday August 18, 2024 @01:55AM (#41280397)
is there a filesize limit for this?
Re:Magic Wormhole: get things from one computer to another, ... by kccqzy on Sunday August 18, 2024 @12:39PM (#41283384)
That uses WebRTC, which uses the same NAT traversal tricks.
Re:Magic Wormhole: get things from one computer to another, ... by Fnoord on Sunday August 18, 2024 @08:51AM (#41282082)
Not bad, though you don't even need STUN or ICE;

https://github.com/samyk/pwnat

https://github.com/samyk/slipstream

Re:Magic Wormhole: get things from one computer to another, ... by t0mas88 on Saturday August 17, 2024 @04:54PM (#41277878)
Re:Magic Wormhole: get things from one computer to another, ... by voxic11 on Saturday August 17, 2024 @06:36PM (#41278577)
You aren't guaranteed to be able to do that but in practice most times you can.