Currently pulling out my hair. I have a Synology NAS with the tailscale service (everything up to date). I have a NixOS client laptop, everything up to date.

I’m simply (?) trying to connect to a share via tailscale, and I have not managed to find anything that works. I’ve been using NFS, but I’m fine with SMB … or carrier pigeons at this point.

Does anyone know of a step by step, detailed, current tutorial to accomplish accessing a Synology share via tailscale on a linux device? I would not have thought this would be challenging!

  • pukeko@lemm.eeOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago
    1. Declaring the NFS mount in my NixOS configuration; also tried manually mounting via

    sudo mount -o nfs $TAILSCALEHOSTNAME:/$MOUNT /mnt/$MOUNT (with some options like no auto, but I’m doing this from memory)

    1. I’ll try but I have some idea that it won’t respond to ping
    2. I will try in a moment
    3. yes, on the local network (192.168.x.x) — and for the record I allowed access to the NFS share via the tailscale subnet

    The error I am receiving differs depending on whether I’m connecting via CLI or, say, Nautilus but I’ll have to collect the errors when I’m back at the laptop.

    • just_another_person@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      11 months ago

      My first guess is that using an actual hostname isn’t going to work for you if that hostname is served by your local network DNS (meaning, not using magicdns on tailscale), which you would not be on when connected via tailscale unless you override your DNS server once connected.

      Try by IP instead. Give errors if that doesn’t work.

      • pukeko@lemm.eeOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        It’s the same error regardless of whether I connect by tailscale IP (100.x.x.x) or the tailscale hostname, and it strongly suggests an issue on the Synology, but everything looks correct on the NAS (but I am by NO MEANS an expert):

        mount.nfs: access denied by server while mounting $IP:/volume1/$mount

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

          Then you need to ssh into both devices and confirm they can both ping each other via the tailscale interface as a starter. That will at least shownif you have a routing problem.