brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: tailscale set --webclient puts a device's Tailscale settings page on port 5252

Network and access
~/tips/tip-tailscale-set-webclient

sudo tailscale set --webclient

Opens a device's Tailscale settings in your browser from anywhere on your tailnet, without SSH.

A headless Linux box has no Tailscale tray icon, so every exit node or subnet change means an SSH session and a CLI flag you have to remember. I didn’t expect it, but the client ships its own web interface for exactly this case, and one setting puts it on your tailnet.

Since v1.64.0 the web interface runs locally on 100.100.100.100, which only helps when you’re sitting at the device. To reach it from your other devices, expose it on port 5252 of the device’s Tailscale IP:

sudo tailscale set --webclient

Then open http://100.64.0.10:5252 (use that device’s own Tailscale IP) from your laptop. tailscale web does the same in the foreground and stops when you press Ctrl+C, which is nice if you only need it once. You need v1.56.0 or newer for the interface at all.

The page opens read-only for everyone who can reach the port: IP address, device details and so on. To change anything, you sign in with your profile in the top right and pass a check-mode login. On a device you own, only you can manage it that way. On a tagged device, a grant with the tailscale.com/cap/webui app and a canEdit list (ssh, subnets, exitNodes, account or *) decides who may change what.

My caveat is that read-only page. If your policy lets every member reach every port, they can all see it. I’d limit port 5252 to people’s own devices, which the docs show as a grant from autogroup:member to autogroup:self with "ip": ["5252"]. To switch it off again, tailscale set --webclient=false closes it for remote users; the disable-web-client node attribute in the policy file turns it off locally as well.

Further reading: Tailscale docs: Tailscale web interface, Tailscale CLI reference

More Network and access tips scp -3 alice@server-a:/var/backups/db.sql.gz bob@server-b:/srv/restore/ tailscale exit-node suggest tailscale lock sign nodekey:1abddef1 tlpub:abcdef12 wg genpsk > peer1.psk Table = off All Network and access tips (163) All topics

Link