[Plugin] Tailscale


Recommended Posts

On 4/18/2023 at 10:11 PM, TrojanHorsePower said:

 

No the array does not need to be running for internet access, It's just a media server with some self-hosted applications. Weird that the server is having trouble doing DNS lookups, while the other devices on the network never experience this. 

Hmmmm... that's odd. Given that Unraid itself is having trouble making DNS lookups at boot time, you might want to try posting over in the general support forums to see if there's a problem.

 

Alternately, it might be worth trying with a static IP instead of DHCP, that might avoid whatever problem is happening.

Link to comment
10 hours ago, EDACerton said:

I would suggest removing the config for eth119, it seems like that's stale but is confusing things.

Thank you for the very quick response and review. I just went into my network settings and I am not seeing eth119 at all.  If I was eth119 in the config, where would I be hiding?

Link to comment
On 4/20/2023 at 8:35 PM, Gofer said:

I just started having a similar issue. Local access stops entirely, everything still works through the tailscale plugin and the tailnet IP. I disable docker and it works instantly.

 

 

sweetums-diagnostics-20230420-1931.zip 273.09 kB · 1 download

I began having this issue last night. 

Enabling Docker knocks me off of local ip address access to my dashboard. It's still accessible through its tailscale address. 

I disabled VMs and all my dockers from auto starting and rebooted. Switching on VMs didn't cause any issue. Switching on the docker service with all the docker auto starts disabled caused the issue.

Link to comment
On 4/21/2023 at 8:09 AM, EDACerton said:

You’ll probably have to edit the network.cfg file on the flash drive (remove the lines that have a [2], make a backup first!) then reboot. 

This did work. thank you!

 

I completely did not think about the fact I had changed some hardware around and went from 2 nics to 1. Completely unrelated to the plug in.

Link to comment
12 minutes ago, mtietje said:

I began having this issue last night. 

Enabling Docker knocks me off of local ip address access to my dashboard. It's still accessible through its tailscale address. 

I disabled VMs and all my dockers from auto starting and rebooted. Switching on VMs didn't cause any issue. Switching on the docker service with all the docker auto starts disabled caused the issue.

 

What dockers are you running?

 

Post a diagnostic too ( Tools -> Diagnostics).

Link to comment

I've never used Tailscale before but the setup was pretty straightforward, and after searching a bit I realized that in order to use it as if I was in my local network I needed to set my Unraid as Exit Point + Subnet (on the same IP range as my network), with this I was able to use my Pi-hole DNS and access Unraid WebUI through it's IP, but... I couldn't access any other br0 docker, is there any special setup I need to do?

Link to comment
7 hours ago, Chriexpe said:

I've never used Tailscale before but the setup was pretty straightforward, and after searching a bit I realized that in order to use it as if I was in my local network I needed to set my Unraid as Exit Point + Subnet (on the same IP range as my network), with this I was able to use my Pi-hole DNS and access Unraid WebUI through it's IP, but... I couldn't access any other br0 docker, is there any special setup I need to do?

Please post diagnostics.

Link to comment
16 minutes ago, dopeytree said:

This is a top plugin. 

 

Only thing I would change is maybe add some configuration text or a link to this page on the settings tab. 

 

Tell use to open unraid console and run 'tailscale up'

Thanks!


Adding documentation to the interface is already part of my plan for the next couple updates 😉

  • Upvote 1
Link to comment
  • 2 weeks later...
On 4/28/2023 at 2:15 AM, EDACerton said:

Can you access br1 via the subnet router? I can see that you have a shim interface for br1 but not for br0.

Nope, only Unraid UI, tho I'll be honest, after that I removed the card (BR1) and reinstalled Tailscale, after this it actually worked! Same settings as before, Exit Node and Subnet at the same IP range as my network.

Also I was almost blaming Tailscale for daily crashing my Omada container, but apparently it was this card too lol.

 

Link to comment
1 hour ago, Chriexpe said:

Nope, only Unraid UI, tho I'll be honest, after that I removed the card (BR1) and reinstalled Tailscale, after this it actually worked! Same settings as before, Exit Node and Subnet at the same IP range as my network.

Also I was almost blaming Tailscale for daily crashing my Omada container, but apparently it was this card too lol.

 

Weird problems are always fun 😂 I’m glad it’s working for you now!

  • Like 1
Link to comment
12 minutes ago, Gex2501 said:

It appears that tailscale stops and start with the array. Is there anyway for it to be independant of the array? Like, if I stop the array to make some changes keep TS running? 

That sounds like you have the Tailscale Docker installed, not the Tailscale plugin. 

Link to comment

I just converted my 6.11.5 server from the Docker container to the plugin and it worked flawlessly. However, when trying to do the same on my 6.9.2 server at home, I get this:

 

# tailscale up
failed to connect to local tailscaled; it doesn't appear to be running

 

I then uninstalled and reinstalled the plugin:

plugin: installing: https://raw.githubusercontent.com/dkaser/unraid-tailscale/main/plugin/tailscale.plg
plugin: downloading https://raw.githubusercontent.com/dkaser/unraid-tailscale/main/plugin/tailscale.plg
plugin: downloading: https://raw.githubusercontent.com/dkaser/unraid-tailscale/main/plugin/tailscale.plg ... done
plugin: downloading: https://pkgs.tailscale.com/stable/tailscale_1.40.0_amd64.tgz ... done
plugin: downloading: https://raw.githubusercontent.com/dkaser/unraid-tailscale/main/packages/tailscale-utils-2023.04.26a.txz ... done

+==============================================================================
| Installing new package /boot/config/plugins/tailscale/tailscale-utils-2023.04.26a.txz
+==============================================================================

Verifying package tailscale-utils-2023.04.26a.txz.
Installing package tailscale-utils-2023.04.26a.txz:
PACKAGE DESCRIPTION:
Executing install script for tailscale-utils-2023.04.26a.txz.
Package tailscale-utils-2023.04.26a.txz installed.
starting tailscaled...
plugin: tailscale.plg installed

Updating Support Links

Finished Installing. If the DONE button did not appear, then you will need to click the red X in the top right corner

...and then tried tailscale up once more:

# tailscale up
failed to connect to local tailscaled; it doesn't appear to be running

Still no juice.

 

Is there a way to start tailscaled manually in a way that it will restart automatically on boot? I'd really like to avoid rebooting the server as it's in use.

 

I've started tailscaled with

# tailscaled &

(to run it in the background)

and then

# tailscale up

 

That works, but I'm not feeling confident that it will restart on system reboots.

Edited by reverend remiel
Link to comment
1 hour ago, reverend remiel said:

I just converted my 6.11.5 server from the Docker container to the plugin and it worked flawlessly. However, when trying to do the same on my 6.9.2 server at home, I get this:

 

# tailscale up
failed to connect to local tailscaled; it doesn't appear to be running

 

I then uninstalled and reinstalled the plugin:

plugin: installing: https://raw.githubusercontent.com/dkaser/unraid-tailscale/main/plugin/tailscale.plg
plugin: downloading https://raw.githubusercontent.com/dkaser/unraid-tailscale/main/plugin/tailscale.plg
plugin: downloading: https://raw.githubusercontent.com/dkaser/unraid-tailscale/main/plugin/tailscale.plg ... done
plugin: downloading: https://pkgs.tailscale.com/stable/tailscale_1.40.0_amd64.tgz ... done
plugin: downloading: https://raw.githubusercontent.com/dkaser/unraid-tailscale/main/packages/tailscale-utils-2023.04.26a.txz ... done

+==============================================================================
| Installing new package /boot/config/plugins/tailscale/tailscale-utils-2023.04.26a.txz
+==============================================================================

Verifying package tailscale-utils-2023.04.26a.txz.
Installing package tailscale-utils-2023.04.26a.txz:
PACKAGE DESCRIPTION:
Executing install script for tailscale-utils-2023.04.26a.txz.
Package tailscale-utils-2023.04.26a.txz installed.
starting tailscaled...
plugin: tailscale.plg installed

Updating Support Links

Finished Installing. If the DONE button did not appear, then you will need to click the red X in the top right corner

...and then tried tailscale up once more:

# tailscale up
failed to connect to local tailscaled; it doesn't appear to be running

Still no juice.

 

Is there a way to start tailscaled manually in a way that it will restart automatically on boot? I'd really like to avoid rebooting the server as it's in use.

 

I've started tailscaled with

# tailscaled &

(to run it in the background)

and then

# tailscale up

 

That works, but I'm not feeling confident that it will restart on system reboots.

Can you please post diagnostics?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.