Tailscale and Samba - if you are unable to connect.
If you are using Tailscale on your NAS and finding that SAMBA shares are not accessible via the tailnet, you may need to adjust your smb.conf file.
This is because, by default, Samba only listens on the physical interfaces, and not the dynamicaly named virtual tailscale interface.
For me, I found that I had to add the following line to my smb.conf file.
1) SSH to your NAS
2) Navigate to :
Code: Select all
cd /volume0/usr/builtin/etc/samba/Code: Select all
cp smb.conf smb.origCode: Select all
vi smb.confCode: Select all
bind interfaces only = no7) Restart Samba (you can do this via command line or via ADM - turning SMB off then back on again).
You should now be able to connect to the Samba shares from a remote device on your tailnet.
Caveat: Using Samba shares over slow links is not recommended.
Sharing all the above based on various suggestions found via google. Tested on AS1004T v2. Your mileage may vary.
Good luck.