#Help to set up Taildrive

1 messages · Page 1 of 1 (latest)

oak mist
#

Hi. Please can you help me troubleshoot my taildrive setup?

Aim: I have a simple setup for personal use, linking 7 devices, all exclusively access by me. I want to setup file sharing which allows all devices to access all shares.

What I've done:

I've attached my ACL config

Tailscale

Share folders securely between devices on your Tailscale network.

hallow vale
#

I suspect what's going on is that your only rule that's defined gives access to taildrive, and that's it. You've removed the default rule, which allows access to everything , and only added what you needed for taildrive. That means, you're not giving yourself any other access to your devices. Tailscale's rules are deny by default so without a definition, you'd lock yourself out.

What happens if you add another rule giving yourself access to your own devices (without the app definition in the grant)

        "src": ["autogroup:member"],
        "dst": ["autogroup:self"],
        "ip":  ["*"],
   },```
oak mist
#

i don't think I removed the 'default rule'

hallow vale
#

The default rule is usually:

  "grants": [
    {
      "src": ["*"],
      "dst": ["*"],
      "ip": ["*"]
    }
  ] ```

And I don't see it in your ACL file you provided, so it was changed
oak mist
hallow vale
#

I might start off with something like:

//give members access to their own shares
"grants": [
  {
    "src": ["autogroup:member"],
    "dst": ["autogroup:self"],
    "app": {
      "tailscale.com/cap/drive": [{
        "shares": ["*"],
        "access": "rw"
      }]
    }
  },
  //allow every device to get everwhere (default rule)
  {
      "src": ["*"],
      "dst": ["*"],
      "ip": ["*"]
  }
 ] 
 

There's not alot of detail you're providing about devices on your tailnet and whether or not you've tagged them, but this might be something I would try to see if it works.

oak mist