Open tjjh89017 opened 5 years ago
Hi @tjjh89017, I am currently working on a new version (though it's just a hobby and I do not know when it's production ready, yet).
I'm not sure what you mean by design. The software roughly works like this:
So wg-p2p will act as a proxy between the wg port and really port?
If you are busy, plz ignore my questions. Thanks
Exactly, I could not find a design where this forwarding is not required. Though I might replace it with a eBPF program one day ;)
I'm not sure But maybe Bittorrent UDP hole punch will help?
Not sure how this should help. I use STUN for that.
Use hole punch, we can connect wireguard without proxy Let me think about it
@manuels I survey a lot for this topic I think BPF or eBPF will help this
I want to implement a similar approach using BPF or eBPF (new C++ or Golang project) (if you don't mind) Wireguard's example use a custom server to do the UDP hole punching. [1] This part may be replaced with STUN or TURN server to determine the port in use or relay the UDP traffic, and use OpenDHT or Mainline DHT to store the IP and port info.
and i don't think "pubkey exchange" will be necessary. (if i'm wrong, please correct me)
[1] https://github.com/WireGuard/WireGuard/tree/master/contrib/examples/nat-hole-punching
Hi, I'm also interested in Docs. A simple readme with an example configuration would be enough. Just hard to use without any info.
Hi, I'm very interested in this project. But I found less docs about the design. Could you tell us more about this? (master branch) Thanks a lot