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 up complains about missing flags, tailscale set does not

Network and access
~/tips/tip-tailscale-up-reset

sudo tailscale set --update-check=false

Change one Tailscale setting without restating every other flag you used before.

Ever run tailscale up with one new option and got an error listing flags you set months ago? That is by design, and there are two ways out.

The help text explains the rule. If you give tailscale up any flags, they must be the complete set of settings you want. Anything you leave out would fall back to its default, and up refuses rather than silently changing it.

For a single change, tailscale set is the easy route. It only touches what you mention:

sudo tailscale set --update-check=false

When you do want to start clean, --reset tells up to put every setting you do not mention back to its default:

sudo tailscale up --reset --ssh

That leaves you with SSH on and everything else default: no advertised routes, no exit node, DNS accepted. So check tailscale debug prefs or your notes first if the machine was a subnet router.

A few flags are exceptions to the complete set rule. The help lists --auth-key, --force-reauth and --qr, because they are actions rather than settings.

I’d use up to connect only, and set for everything else. It saves a lot of copying old command lines around.

Further reading: tailscale up command, tailscale set command

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