25
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]

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!

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 7 points 1 week ago* (last edited 1 week 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.

[-] [email protected] 2 points 1 week 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

[-] [email protected] 3 points 1 week ago

I don't use synology but it kind of seems like the synology has an allowlist for subnets that can connect to it. Do you know what service is hosting the file share?

[-] [email protected] 1 points 1 week ago

The allowlist for NFS allows the tailscale subnet and the local LAN subnet.

[-] [email protected] 1 points 1 week ago

Does tailscale have a consistent subnet? Can you connect to the NFS share over the LAN net?

load more comments (2 replies)
load more comments (2 replies)
this post was submitted on 04 Jul 2024
25 points (100.0% liked)

Linux

45773 readers
880 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS