Everything posted by Espressomatic
-
[Plugin] Tailscale
This is doing my head in. I got it working again after a lot of trial and error. This isn't related only to the Plugin, but this is the only Tailscale discussion I've participated in, so leaving some info for future reference (again) Testing mobile/cell isn't a huge pain, but testing with the Macbook means I have to run down the street to a neighbor's place (more thorough than just setting up a second LAN here). The caveat that seems present on both iPhone and MacOS when I'm outside my LAN (cellular or someone else's private network): 1. When I FIRST try to connect to or resolve anything while TS is enabled, it won't work. 2. If I ENABLE the use of an Exit Node (specifically the Debian LXC mentioned below), then connections work as expected (domain resolution, IP, etc.) 3. If I then DISABLE Exit Node, connections remain working On the Mac this requires "Use Tailscale Subnets" enabled - whereas I'm fairly certain this was not required before, as I wasn't using it in the past. Minimal systems installed with Tailscale 1. iPhone 2. MacBook 3. Unraid System 1 with Tailscale Plugin 4. Debian LXC running NPM and Tailscale If I use #3 as an exit node, I can connect to the Unraid WebUI and containers on that system, but I can't connect to other (Unraid) machines on the network (not running Tailscale) Essentially the same settings on the Debian Tailscale installation: 1. IP forwarding set up on the system 2. TS Advertising Exit Node 3. TS Advertising Routes - LAN's entire IP range 4. TS set to accept DNS from the coordinator (IP of resolver running on my LAN) - this way I don't do any other DNS setup on Debian And setup on my Mac: Now I'll install the plugin (again) on my other Unraid systems minus the Exit Node and Advertised Route settings from above.
-
[Plugin] Tailscale
Right, this isn't the topic for this thread, but using an MDM solution in a corporate environment seems to be the only way to maintain a Tailnet that has any chance of maintaining reliability. There's no MDM suitable for home use, and there's no ability in the iOS or Android app stores to download anything but the latest release. Also no roll-back or version selection ability in Unraid's App Store for the plugin. It's exceedingly difficult to keep all platforms on the same or older release, and without some serious hoop jumping and time investment, very difficult to roll back some systems. At the moment, a group of local machines, a couple of mobiles and a remote VPS that worked perfectly when running either Headscale or Tailscale's server, now don't work outside my LAN. The remote VPS not at all, mobiles or notebooks can't connect direct to each other, can't do DNS queries, etc. It's generally a complete breakdown of everything that worked before. I can't even directly connect to my LAN IP addresses from outside/cellular like I used to: 10.8.8.212 for example - doesn't work, but should bring up an Unraid machine. I haven't tried going back to Headscale yet, but rolling back MacOS version didn't help. Last tested working from outside about 3 weeks ago. Issue might very well be TS's coordinator. Don't get me wrong, this is a Tailscale issue, not a plugin-specific issue.
-
[Plugin] Tailscale
I'll take your word on the use, but the github is really active with show-stopper issues. The platform, as per their own site, has a lot of features that are in beta - and rolled into the shipping software. Many of the issues reported are regressions and I can't see any strategy for maintaining a stable release branch. When I see their long list of brands that have used their SW, I immediately think, "someone in IT is playing around with it," not that any of those firms have deployed company-wide. No idea if that's the case, but I couldn't afford to deploy this to an org. Makes a good solution for home use when it's working. But again, going from working fine to not working at all from one week to the next can cause some headaches for anyone.
-
[Plugin] Tailscale
I just wanted to follow up with a stronger recommendation to do file sharing on an external file-sharing host. IMO, Tailscale cannot be relied upon for business use - there are too many issues from release to release that take down functionality, which can leave you high and dry when you need to use it most. Example of above: Tailscale 1.8.2 on iPhone is not working at all to access the local network when running on Cellular. Can't access LAN IPs, including any local DNS resolver you may be running - and if you're running a local resolver that means you also can't access outside FQDN. This used to work. For a long while it hasn't. It's possible to turn off the use TS DNS on the iPhone client, or specify a public DNS in TS's Global DNS setting, but that means you can never resolve your own FQDN via a reverse proxy and the only way to access any resources on your LAN is by using Tailscale's 100 series IPs.
-
[Plugin] Tailscale
One more thing to try... In your test (with your PC) can you make sure to upload data/files from the Unraid SMB? Or test using the Unraid system after disabling Tailscale. You have a lot of variables in play: Unraid Array with Fuse FS, SMB, Starlink, Tailscale. To eliminate SMB you can also set up a hosted file server in a container - there are a number of them in the App Store. You should make sure you're not using Tailscale's subnet feature as well. Not advertising subnets from any system and not using from any other.
-
[Plugin] Tailscale
Have you tested your actual upload speed without Tailscale in the mix? "Between 10 and 30Mbit" theoretical is a wide margin. Given that entire margin is also exceptionally slow, I'd suggest secure hosting outside your LAN for reasonable collaborative speeds.
-
[Plugin] Tailscale
I don't transcode anything with Plex, ever. Transcoding means that any of a few things are happening: 1. Bad media file in a bad format 2. Poor/slow connection 3. Unsuitable playback device If you make sure none of those 3 deficiencies are present, there's no need to transcode. Jellyfin and Emby before it have nothing over Plex when it comes to media file support. Their claim to fame is that they're "free." And there's nothing wrong with free, but like I might take (and pay for) Ibuprofen for a certain headache, I see paying for a Plex Pass in the same light. My LAN and every machine on it is "100% closed" to the internet. There are no open ports on my router. I put that in quotes because there are some applications that use UPNP, like QBittorrent to open ports as needed. With Tailscale and encryption it's about requiring that authenticated access to connect, not simply "finding" (which would only be security through obscurity).
-
[Plugin] Tailscale
Yes, because while you can use a legitimate and registered domain name, all IP resolution will be done internally by your DNS resolver or forwarder. No DNS server on the internet will ever know anything about your subdomains - and you don't have to point the secondary domain to your public IP address either. This obviously requires that you're running a local resolver or forwarder and that it's the only DNS defined for your devices (and those of your family members) - this can be accomplished by Tailscale when it's ON if you make sure to use its DNS option. Devices hit the provided DNS address and resolve local/private addresses before queries are sent out to upstream/public DNS. So you're looking at Unbound, maybe PiHole or AdGuard Home for black-hole filtering and then optionally a reverse proxy like Nginx Proxy Manager or Traefik (which will make managing a lot of subdomains easier along with automatically redirecting to HTTPS and obtaining/renewing/managing certificates). Or like mentioned in my earlier reply, Pangolin offers all this - except black-hole filtering. In your shoes, since there's no requirement to share anything else with anyone, I'd REALLY skip all this for others, get rid of Jellyfin, buy Plex Pass Lifetime, and use Plex instead. Make an account for each person you want to use your Plex library and then give access on an account-by-account bases. MUCH easier to set up, SO much easier to manage, not ever going to have any hiccups that prevents access to your family members. I'd do this even if Plex Pass cost US$500 - it's simply so much less of a headache. Run Tailscale for yourself only. I haven't looked into it in detail, but how does this omit the requirement to restrict access to only the newly made machine using Tailscale ACL? Author's description for TSDProxy: "Simple and easy" (always debatable) access to services via unique and secure URLs can be handled by any reverse proxy without having any Tailscale machines representing services, nor using any Tailscale-specific domain names or IPs. So while I get what TSDProxy does and offers, I can't come up with a reason to use it over NPM (for example). Maybe if someone's only alternative were Traefik (ugh). And I really (REALLY) don't want Tailscale doing anything with certificates or Let's Encrypt.
-
[Plugin] Tailscale
You may be better served by not using only Tailscale on Unraid and instead using Pangolin which combines a number of services. You can use both if you want. https://github.com/fosrl/pangolin This is especially true if you're not already using a reverse proxy (which you absolutely should) and an auth server which I'm about to suggest in 3....2.... Authentication server - but I'd not bother if Jellyfin is the only thing you're planning to expose. I'd only bother if I had at least a half dozen services I wanted to share and ALSO wanted my members to be able to sign on to any/all of them with ONE login. As far as hardening against outside attack, don't open any ports and continue to use Tailscale. No one can gain access to your network under any circumstances from the outside without your permission. Tailnet access control lists I'd think: https://tailscale.com/kb/1018/acls But the above aside... Are you worried about family members brute-force attacking IP addresses on your network? If so, then I'd never consider giving any of them access to anything, including Jellyfin with or without Tailscale. If not, then what are you worried about? Don't give out IP addresses at all to anyone. Give them a domain name for any web services you want them to access: jellyfin.mycoolserver.com And for anything you don't give them that you think one of them might one day stumble upon, enable authentication on it - most things that need auth already have it. If you have far more services that don't have their own or you want single sign-on, then back to my previous suggestion (Authelia, Authentik, Pangolin). I however don't even bother with Tailscale ACL for personal and family use. IMO, it'd be a giant waste of time to manage. Services that I share (or don't) have their own authentication and user spaces, like VaultWarden, Immich, Unraid, etc. Even things like QBittorrent, JDownloader, pyLoad. I don't keep any auth on Krusader and that has access to all my NAS file systems - do I worry about that? no. I get frustrated with the way the team at Plex completely reinvents the wheel every year, but no matter what they've done, I still can't bring myself to using Jellyfin. You don't need any self-managed tunnels to have family use Plex.
-
Immich docker self-hosted google photos setup
Most containers, and certainly all containers that offer a dedicated front end, should run on their own IP and not share one with Unraid. IMO, it's bad practice to share IP in general for anything but background services. It's also so much easier to track (and control) traffic and access this way.
-
[Plugin] Tailscale
Windows development is "special" and on the other side of the same coin, Windows developers are "special" 🤪
-
Frustrated with hunting and pecking for a usb drive that works
Something's wrong with your system and/or test, as the above is statistically improbable (IMO, I'll go as far as saying "impossible") Non-scientific, but empirical example: I've never owned nor bought (seemingly at random) any USB drive that does not work with Unraid - dozens of drives, almost as many variations of brand, model, capacity. USB 2 or 3 drives, USB 2 or 3 ports - doesn't matter. I'm currently running 4 Unraid installations 24/7, each on completely different hardware. And all 4 USB thumb drives bought in the past 12 months (to replace physically larger ones that also worked without issue) I think there's something to be said about the very small number of people expressing this sentiment among the many thousands of Unraid installations in use.
-
Immich docker self-hosted google photos setup
Run Immich on its own IP, IMO. Network type: Custom br0
-
[Plugin] Tailscale
That'll do it. Here's my take on it, based on how I've seen it working and how I'm using Tailscale. Use Tailscale DNS: You can/should use this *IF* your "always-works" DNS server is specified in your Tailscale Admin settings. Example: the inclusion of your own DNS server or forwarder in the Tailscale Global DNS setting. I put my AdGuard Home IP in there - the same DNS handed out by my DHCP server. I keep this option enabled to make sure that when Tailscale is ON on any particular system, that the DNS used is exactly the same as when it's OFF (ADG's IP) Subnets / Advertise Subnets: You should advertise your LAN (or other required) subnet(s) *IF* you have other systems that are not part of this subnet using Tailscale and they will need access to other systems on this subnet. I advertise my LAN range, 10.8.0.0/23 - otherwise don't include anything and don't advertise from any system. Use Tailscale Subnets: You should NOT have this enabled for any system that already lives on or has access to the subnet(s) being advertised (systems on your LAN) - so this needs to be OFF for every Unraid server or other machine on your premises. I turn this ON for systems such as VPS that live on the Internet that I want to have access to my other LAN systems. One would think that using an advertised subnet (in the case of your PC) that matches your LAN's existing subnet should "just work" - but obviously it's causing issues. Just follow the suggestions above - OFF for all systems on LAN. * * This is why this setting is #1 in the FAQ linked at the top of every page of this thread:
-
[Plugin] Tailscale
I'm not sure why you're messing around with routing nor why any of the private IPs are being redacted. If you have to change any routing options, then there's a failure somewhere (else) and you need to start over. None of that is necessary to look at or change.
-
[Support] HomeAssistant_inabox
Don't even consider installing something like HaCasa if you're not already familiar with the ins and outs of Home Assistant and where all the files live in HAOS. Wait for it to someday be available as a HACS installation (plus manual configuration) - there's no technical limitation preventing that from happening right now (or last year).
-
[Plugin] Tailscale
Worth a try: Disable all VPN/tunnels on your PC. There should then be no reason you can't connect to your Unraid system. If your PC is still using some tunnel to some server or control plane - how is it going to connect to anything on the rest of your LAN that isn't also set up for that?
-
[Plugin] Tailscale
I might as well mention what I find odd: any mention of 10.*.*.* IP ranges, including DNS of 10.128.0.1 for your ethernet adapter. Your wireguard interface is also on a different 10.185.*.* subnet If that's what your Windows machine is using all the time, you won't be able to reach anything on 192.168.2.* right? All my systems are on a consistent subnet whether Tailscale is or isn't being used, including the same DNS. So systems can always resolve IPs and connect to each other by name or direct IP.
-
[Plugin] Tailscale
I see a few things which stick out to me as "odd" in what you posted in the reply, but I'm going to let EDA look over it as my knowledge is like a grain of sand compared to his beach. But, this part that I quoted here confirms that you can continue to access your Unraid system from your phone, right? That ties into the oddities I mentioned - the issue looks like it's specifically with the settings on your Windows machine, not Tailscale on Unraid.
-
[Plugin] Tailscale
Edit your Jellyfin Docker Container settings Set its Network Type to: Custom br0 Give it a non-conflicting IP address within your usable range (make sure it's outside the DHCP range) DISABLE Use Tailscale You should be good to go now. Do the above for any/all containers you want anyone to access from outside your LAN - they'll need Tailscale on their device(s) and need to be part of your Tailnet. IMO, never use the Tailscale option in a container's docker settings for any container or for any reason.
-
[Plugin] Tailscale
This thread is about the plugin and the sticky says specifically that docker integration issues need to be posted elsewhere. That said, try disabling the docker integration. IMO, it's not needed. I also wouldn't consider any form of outside access, even with Tailscale without also running my own DNS resolver and reverse proxy, which makes it much simpler to access everything by FQDN. Any container I access from outside (and everything with a WebUI in general) also runs on a custom br0 network with its own IP address inside my /23 LAN range.
-
[Plugin] Tailscale
Looks good to me. As expected, yup. Doing this has no effect on my ability to connect to my Unraid machine(s) - that includes having Tailscale ON or OFF on the PC (Mac in my case) as well. The only slight difference is that my systems always end up promoting the connection to https: Clearly this was all working before you installed the Tailscale plugin right? By disabling TS, I can't see how this is related to Tailscale. It's OFF when set to OFF. What happens when after turning it OFF you also uninstall the plugin? Can you open a terminal/control panel on each machine and check this out specifically? Check current IP, gateway/router and DNS (even though DNS isn't required for IP or mDNS connections) Also using static reservations here and if anything that just makes things easier and more repeatable to follow/track/diagnose. Can't think of any reason this would cause a problem. On the Unraid system, in Settings -> Management Access, are all the expected URLs included in the "Local access URLs" section? Something like this And for one last sanity check, in Network Settings, something like this (with Bridging enabled and the primary interface bridged to Br0)
-
[Plugin] Tailscale
Up above, ChatGPT is providing information that I consider 100% completely useless. ChatGPT doesn't know anything about anything. It knows how to bring up results from what it finds on the web but has no way of knowing that anything it surfaces is correct or whether it's combining multiple incongruent sources of information to produce a hallucinogenic pile of garbage. It's not AI and it's never going to be AI (or AGI) so I'd never use it for any kind of problem solving like this. You still never mentioned how you're trying to connect to your system, so given all the info, I still don't quite understand the question. If you're trying to resolve your Unraid system by name, your issue is 100% DNS. If you're going by IP then like EDA mentioned, probably subnet routing. What network segments are your machines attached to when you take Tailscale down? Both the Unraid system and your PC. If your PC is still connected to the Tailnet and TS is providing DNS and that DNS isn't your local, you won't be able to resolve your Unraid system by fqdn. If anything it would likely try using a TS 100 IP and that's not going to work. There are multiple things that can go wrong here but it all depends on how all the systems you're looking at are set up, not just the Unraid system. All this is why I have my set up such that Tailscale can't/won't alter how any system on the LAN resolves or routes. So whether TS is up or down on one, multiple or all machines, they all continue communicating with each other as normal/expected. While on the LAN. If I take my mobile somewhere else, obviously it and at least one more system back at home on the LAN have to be connected to the Tailnet.
-
[Plugin] Tailscale
OK, these two are the kind of info that can benefit my setup. The Magic DNS not so much since I already use a public and registered FQDN along with regularly generated LE certs via Certbot and Nginx Proxy Manager. In the case of a single point of failure, if the machine I mentioned before goes down, my whole LAN goes down anyway, as it's the machine (N100) acting as router, firewall, DNS and reverse proxy too. Is there any configuration needed for the distribution duty you mentioned, or is simply having the nodes on the tailnet enough?
-
[Plugin] Tailscale
DNS issue. How have you configured DNS for your network? Every machine on my network uses the same local DNS address with and without Tailscale, so it doesn't matter if I take one machine off the Tailnet or all of them - everything continues to work locally without interruption and every machine can still be accessed from any other, by full domain name, machine name or of course IP.