Today I fumbled thru the install of Rayfish and Yggdrasil. Both are awesome, but Rayfish was so much easier to install and use.

Have you tried these yet?

Here’s the Yggdrasil link:

https://yggdrasil-network.github.io/

Yggdrasil has Android, Windows, Linux, Apple installers.

Rayfish only works on desktop right now, but hopefully soon they will be able to get it on Android.

  • innocentz3r0@programming.dev
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 day ago

    I suppose they don’t work without having

    • a coordination server of sorts
    • having all the nodes on static IP

    Like, if the IPs keep changing, and a device goes offline and then online, how does yggdrasil know how to reach that system?

    • lemmyvore@feddit.nl
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 hours ago

      In the Yggdrasil network any node can act as relay for other nodes. So you can get to unreachable nodes via reachable nodes, as long as there’s a possible path through the network graph.

      The community also maintains a few nodes with static public addresses, specifically so they can be used as entry points into the network.

      Each node has two addresses, one used for communications inside the network and one used for peering. The inner address is IPv6 allocated randomly from the reserved 0200::/7 range and never changes (unless you wipe and re-configure the node). The peering address needs to be public and static, yes, but can be either IPv4 or IPv6 fwiw.

      You only need to peer with one such public and static address to be able to reach other nodes, as long as there’s a path to them among all the peers in the graph. If you’re taking advantage of the larger Yggdrasil network that is taken care of by the public community nodes. If you want to set up your own separate network then you need to set up at least one node with a public static address. But you can also use a domain name and do DDNS for example.

    • altphoto@lemmy.todayOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      My phone gets a new IP when I hop from wifi to cell but it’s still able to communicate. Supposedly rayfish has this solved too although I cannot test that since the computer is on my network but maybe I could tether something to my cellphone and test that way.

      If you’re using ipv6 supposedly you don’t need to forward ports. So that means that regardless of what IP your ISP gives you, your network should survive.

      • lemmyvore@feddit.nl
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 hours ago

        f you’re using ipv6 supposedly you don’t need to forward ports.

        You don’t need to forward ports but you still need to maintain network rules for each port so you can get through the firewall. And those rules need to know IPs. And if your public IPv6 prefix changes you need to update the rules.

        So, really, there’s no advantage over forwarding, on the contrary, since forwarding uses private IPs which you can make static so they never change.

        Some router software like OpenWRT attempts to work around this issue by using a special “minus netmask” shorthand syntax for the network rules, for example ::2/-64 means you want to reach [whatever the dynamic prefix is right now]::2. Which assumes you’ve set things up so that a certain machine always gets static suffix ::2, which means that machine does not do MAC anonymization and can use DHCPv6, which excludes all Android and iOS devices. So it can be used with Linux servers for example but with a lot of caveats.