Total noob, but I set up TrueNAS/Nextcloud on an old laptop and it’s working great locally.

What would be the easiest secure way to access my files remotely from my phone and/or laptop?

EDIT: I needed to advertise 10.0.0.0/24 NOT 10.0.0.26/24 lol

  • techgearwhips@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    11 months ago

    Tailscale. Download it and you’ll be up and running in 5 minutes. Don’t use cloudflare tunnels unless you plan on opening it up to the public. Then you can go that route.

    • N-E-N@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      Hey, I’m testing it and I have it installed on my phone/PC/TrueNAS but having trouble getting access remotely (testing on data).

      I think I have the part “Advertise Routes” wrong, how to I know what IP to put in exactly

        • N-E-N@lemmy.caOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          11 months ago

          Is the port number the 4 numbers after the : which I use as a url to access Nextclouds web gui?

          Also that means I should be adding two routes?

            • N-E-N@lemmy.caOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              11 months ago

              Sorry for the questions, how do I know which Tailnet IP to use? Each device seems to get a different address and a I tested a couple and neither worked

              A tutorial I watched used 192.168.3.0/24. I tested this and it didn’t give me any errors and it connected to tailscale, but I couldn’t actually access things remotely

    • LazerDickMcCheese@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      Second on that. The whole “it just works” slogan was frustrating when it didn’t work at first, but once it finally for running it was great

      • N-E-N@lemmy.caOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        What exact route did u advertise? I’m having trouble getting it working

        • LazerDickMcCheese@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 months ago

          Trust me, you don’t want to get instructions from me. Just look at my post/comment history haha everything I touch breaks in ways that are hard to diagnose. I had to reach out to tech support, they got back to me in <12hrs

    • jbarr@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      11 months ago

      For restricted access, I add a Cloudflare Application in front of the Tunnel to provide authentication. Work’s like a charm, and the user never hits my services unless they successfully authenticate.

      • techgearwhips@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        Yes I do that too with email authentication. But if he is using a personal server with no users then there is no need for that.

        • jbarr@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 months ago

          True, but then Tailscale needs to be installed on the remote device to connect. A Cloudflare Tunnel and Application can be accessed by pretty much any device. This was more appropriate for my use case. YMMV, of course.

          • techgearwhips@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            10 months ago

            For me it’s all about use case.

            I use cloudflare tunnels for programs exposed to the open web (Nextcloud, Radicale, etc).

            But I use tailscale for anything not, then I use tailscale (RD client, KDE Connect, Sonarr, etc) because it’s way too simple.