Skip to content

[FEATURE_REQUEST] Alternative service URL for remote access #1313

@Spatchy

Description

@Spatchy

Is your feature request related to a problem? If so, please describe.

For remote access on my setup, I use Tailscale. Tailscale assigns each node in the network an IP that can only be accessed when connected to your "tailnet" virtual network; local IPs and DNS resolution doesn't work when accessing pages when connected. This means that the service URLs defined for items in Dashy do not work when the Dashy is accessed remotely.

Describe the solution you'd like

I propose a new optional field that can be added to the item: "Alternative Service URL" which would be triggered instead if Dashy is being viewed from a different url. A list of "Remote Access URLs" which would trigger the alternative service URL for the item would need to be added to the config.

For clarity, this is how I imagine this being used:

  • I add 100.90.80.1 to the "Remote Access URLs" List
  • I add an "Alternative Service URL" 100.90.80.1:8999 to one of my items
  • When accessing Dashy via myserver.local, nothing is different, the regular "Service URL" is used
  • When accessing Dashy via 100.90.80.1 and I click on my item, the "Alternative Service URL" is used instead

Dashy can now work locally and remotely when used with Tailscale or a similar VPN-based solution.

Priority

Medium (Would be very useful)

Is this something you would be keen to implement

Maybe

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✅ Fixed[ISSUE] Auto-Assigned to Tickets whose fix has been deployed🛩️ Released 4.3.6Included in release v4.3.6🦄 Feature Request[ISSUE] Suggestion for new feature, update or change

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions