I never could get Nix working but maybe someone will

  • infeeeee@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 days ago

    Interesting, it’s on AUR, I will try it.

    So it doesn’t need any port forwarding, and works on CGNAT? How the “NAT hole punching” works? Both clients connect to something on IPFS?

    Afaik, for DHT with torrent, clients need to know at least one tracker, what is the “tracker” here? Something on IPFS? Who am I sending my IP addresses?

    How much overhead does this add to speed? I love with Wireguard, that it’s barely noticeable, really close to p2p speeds, OpenVPN was awful in this regard.

    • Possibly linux@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      6 days ago

      First off great find. I didn’t think to check the AUR. I personally wouldn’t use it as that version is 3 years out of date but its existence means that it might be entirely possible to get a non Nix version. I’m not sure I fully understand why it needs Nix OS but what do I know.

      It is all libp2p magic

      There have been lots if talks on libp2p and Nat traversal. I suggest you check them out. How it actually works is pretty complex and requires someone more knowledgeable than me to explain. One way it works is that both devices start a TCP connection at the same time which gets the proper ports to open up.

  • Matt@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    6 days ago

    What about Tailscale? I know it’s Proprietary software.

    • Possibly linux@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 days ago

      Tailscale is actually a lot more open than you think. The agents are all foss and there is a self hostable version.

        • Obinice@lemmy.world
          link
          fedilink
          English
          arrow-up
          8
          ·
          6 days ago

          Is IPFS something your family and friends check on regularly? I don’t even know what it is.

          Considering your reluctance to give any information about your assertion that such a project using it becomes useless, I’m not sure you know what it is either :P

          • 31337@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            6 days ago

            I haven’t checked it out in years. From my understanding, IPFS aims to be a distributed filesystem that kinda works like Bittorent. If you access a file, you then seed it. Last time I checked it out, the project was jumping on the crypto bandwagon… Just checked out their website now, and don’t know WTF it is.

    • Valmond@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 days ago

      I sure wonder how this is supposed to function, any explanation anywhere, like a diagram or something?