14
submitted 2 years ago by monty@lemmy.one to c/selfhosted@lemmy.world

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.

you are viewing a single comment's thread
view the rest of the comments
[-] sixCats@lemmy.dbzer0.com 8 points 2 years ago

You can write shares to CIDR blocks e.g. 100.0.0.0/8

[-] pacology@lemmy.world 4 points 2 years ago

If you enable Tailscale DNS, you can even mount the share using the host subdomain instead of using the ip address.

[-] monty@lemmy.one 2 points 2 years ago

This is what I attempted by using *.mytailnet.ts.net, but that did not work. How would I enter this in my export file?

[-] pacology@lemmy.world 2 points 2 years ago

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.

[-] TheHolm@aussie.zone 2 points 2 years ago

These IPs will be only resolved on nfsd restart. So you still need static IPs for nodes.

this post was submitted on 19 Sep 2023
14 points (93.8% liked)

Selfhosted

60093 readers
811 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam.

  3. Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.

  4. Don't duplicate the full text of your blog or git here. Just post the link for folks to click.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require your active participation in selfhosting or related communities, or the post will be removed. No more than 10% of your posts or comments may be self-promotional, or your post will be removed. F/LOSS Exception: If your post is about a project that is completely open source & can be self-hosted in full without payment, and your account is at least 30 days old, your post is exempt from this rule as long as you continue to engage in comments.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS