tailscale-set
Configure persistent Tailscale options
TLDR
Accept routes advertised by other tailnet nodes
$ tailscale set --accept-routes
Advertise this device as an exit node$ tailscale set --advertise-exit-node
Set the device hostname$ tailscale set --hostname [name]
Allow a non-root user to control tailscaled$ tailscale set --operator=[$USER]
Route this device's traffic through an exit node$ tailscale set --exit-node [node-name-or-ip]
SYNOPSIS
tailscale set [options]
DESCRIPTION
tailscale set changes per-node Tailscale options without disrupting the existing connection. Unlike tailscale up, which resets every unspecified flag back to its default, set modifies only the flags you pass — making it the safer choice for incremental changes.
PARAMETERS
--accept-routes
Accept subnet routes advertised by other nodes.--accept-dns
Accept DNS configuration from the admin console.--advertise-routes CIDRS
Expose physical subnet routes to the tailnet.--advertise-exit-node
Offer this node as an exit node.--advertise-tags TAGS
Apply ACL tags to this device.--exit-node NODE
Route traffic through the named exit node (empty string clears it).--exit-node-allow-lan-access
Allow LAN access while connected to an exit node.--hostname NAME
Override the device hostname.--shields-up
Block all incoming connections.--ssh
Enable Tailscale SSH on this device.--operator USER
Allow the named local user to operate tailscaled without sudo.--auto-update
Enable automatic Tailscale client updates (where supported).
SEE ALSO
tailscale(1), tailscale-up(1)
