UPDATE (13:40 ET / 2024-07-05): Got the connection working via SMB. Literally the only thing I changed was moving to a credentials file rather than specifying credentials inline, so … I’ll be trying to figure out what mystery affliction prevented the connection before. Leaving this up because there are a bunch of great suggestions for troubleshooting this issue in the comments. Thanks everyone.

ORIGINAL POST:

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
      0
      ·
      4 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.

        • pukeko@lemm.eeOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 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