Skip to content

Add Tailscale-Only Mode toggle to web interface - #1498

Open
zackify wants to merge 1 commit into
jetkvm:devfrom
zackify:zs/tailscale-bind
Open

Add Tailscale-Only Mode toggle to web interface#1498
zackify wants to merge 1 commit into
jetkvm:devfrom
zackify:zs/tailscale-bind

Conversation

@zackify

@zackify zackify commented Jun 20, 2026

Copy link
Copy Markdown

I am new to the project, I can test more and run this on a real device if its something that will be entertained to merge. Let me know. I only ran the local make tests and fe build for this so far.

Adds a new 'Tailscale-Only Mode' toggle below 'Loopback-Only Mode' in Advanced Settings. When enabled, the web server binds to the device's Tailscale IP address, restricting access to the tailnet only.

  • config.go: Add LocalTailscaleOnly field
  • jsonrpc.go: Add get/setLocalTailscaleOnly RPC handlers
  • web.go: Bind to tailscale IP in getBindAddress(); add to device info
  • web_tls.go: Include tailscale-only in startup log
  • Advanced settings: Conditional toggle + warning dialog
  • en.json: 12 new i18n keys

Closes #

Summary

When using tailscale, this will be the most secure way to bind the ui. Nobody can access on the local network.

Making this safe to use with no password mode, as tailscale itself secures access.

Checklist

  • Ran make test_e2e locally and passed
  • Linked to issue(s) above by issue number (e.g. Closes #<issue-number>)
  • One problem per PR (no unrelated changes)
  • Lints pass locally
  • Tricky parts are commented in code

Adds a new 'Tailscale-Only Mode' toggle below 'Loopback-Only Mode' in
Advanced Settings. When enabled, the web server binds to the device's
Tailscale IP address, restricting access to the tailnet only.

- config.go: Add LocalTailscaleOnly field
- jsonrpc.go: Add get/setLocalTailscaleOnly RPC handlers
- web.go: Bind to tailscale IP in getBindAddress(); add to device info
- web_tls.go: Include tailscale-only in startup log
- Advanced settings: Conditional toggle + warning dialog
- en.json: 12 new i18n keys
@CLAassistant

CLAassistant commented Jun 20, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants