I’ve been searching around and can’t seem to find a good answer for how to share an NFS share with all devices on my Tailscale network. I know I can list out all of the IPs individually, but I’d like to have any new devices added to Tailscale to have access without having to update the share.
If you enable Tailscale DNS, you can even mount the share using the host subdomain instead of using the ip address.
This is what I attempted by using *.mytailnet.ts.net, but that did not work. How would I enter this in my export file?
You need to get a subdomain. It should be two words separated by a hyphen. Then you use that as the address.
If your address is glossy-mouse, the address will be glossy-mouse.mytailnet.ts.net.
These IPs will be only resolved on nfsd restart. So you still need static IPs for nodes.