January 23, 20251 yr Hi there, I wanted to report a potential issue with the Tailscale plugin’s integration for Docker containers. Under Advanced Tailscale Show Advanced Settings -> Tailscale Advertise Routes, the input field for specifying subnet routes uses a regex pattern [0-9:., ]* in the HTML input tag. This pattern currently excludes the / character, which is required for CIDR notation (e.g., /24). As a result, users cannot input valid subnet routes like 8.8.8.0/24 directly into the field (which is cool for subnet routers). For a quick test, I manually edited the regex to also allow / which seems to work fine inside the container then. Could somebody verify that this is actually and issue and not just me being dumb? If it's actually an issue, maybe the validation pattern can be extended to allow slashes? This would ensure compatibility with Tailscale’s subnet router syntax. Thanks for your hard work!
January 23, 20251 yr Solution 9 minutes ago, Tripton said: As a result, users cannot input valid subnet routes like 8.8.8.0/24 directly into the field (which is cool for subnet routers). For a quick test, I manually edited the regex to also allow / which seems to work fine inside the container then. Thanks for the report, will be fixed in the next Unraid release. For now as a workaround you can do something like that:
January 23, 20251 yr 17 minutes ago, Tripton said: Thank you so much Oh, BTW, if you want to add multiple subnets something like that would be also be possible: --advertise-subnets=192.168.1.0/24,192.168.2.0/28 The same will also work in the field for Advertise Subnets when it is fixed in the next Unraid version, of course only by specifying the subnets without --advertise-subnets=
January 23, 20251 yr Author Thanks for the info, that's actually what I'm doing to route the Cloudflare IP Range with Tailscale through a VPN Container because Deutsche Telekom AG peering Issues (#1 #2 #3) and the approach works really nicely!
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.