• by r3trohack3r on 1/2/2025, 5:43:21 PM

    This looks great!

    Have you seen the libp2p project? Might help get you pluggable NAT traversal and transport strategies plus peer discovery. We’ve been using rust-libp2p for building an overlay network and have had decent success.

  • by rudasn on 1/2/2025, 5:17:56 PM

    Nice. I really like the config format regarding the services available/exposed.

    Any particular reasons you haven't built upon wireguard that would handle encryption/security for you?

  • by crtasm on 1/2/2025, 6:27:31 PM

    Suggestion for the quickstart: refer to the clients as either D,S or a,b throughout - I found the mixture a bit confusing.

  • by linuxdude314 on 1/3/2025, 12:06:43 AM

  • by valorzard on 1/2/2025, 6:40:05 PM

    Can I use this to host a Minecraft server? I’ve used hamachi and zero tier in the past, and the former USED to work but stopped recently for some reason

  • by nurettin on 1/2/2025, 9:45:29 PM

    I have been using autossh in production for the past decade without problems. Does frp/ngrok/connet, etc. have any advantage that I don't know about?

  • by hailruda on 1/2/2025, 7:20:49 PM

    So if I understand correctly, this should be comparable to what Tailscale is doing?

  • by Uptrenda on 1/2/2025, 10:08:31 PM

    Spent 2 years working on the same problem. Ended up designing a library that does:

    - direct connect

    - reverse connect

    - tcp hole punching

    - turn support

    Has other features too like:

    - multi-interface

    - duel-stack

    - port forwarding and pin holes

    Show some love cause its at 64 stars and is IMO, objectively better for direct peer-to-peer networking than OPs library that only supports direct, reverse, and relay, and which doesn't seem to do anything to open ports or firewalls. It does make me salty that I try so hard with my own work but what seems to make people successful is their ability to get lucky on sites like this or game them.

    No offense to OP. Here's my project: https://github.com/robertsdotpm/p2pd