LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

tailscale-up

Connect device to Tailscale network

TLDR

Connect to Tailscale
$ tailscale up
copy
Connect with exit node
$ tailscale up --exit-node=[node]
copy
Connect accepting routes
$ tailscale up --accept-routes
copy
Connect with SSH enabled
$ tailscale up --ssh
copy
Advertise as exit node
$ tailscale up --advertise-exit-node
copy

SYNOPSIS

tailscale up [options]

DESCRIPTION

tailscale up connects the device to a Tailscale network. Authenticates and joins the tailnet. First run opens browser for authentication unless authkey is provided.To change settings on an already-connected device, prefer tailscale set which only updates specified flags, whereas tailscale up applies OS defaults for all unspecified flags.

PARAMETERS

--accept-routes

Accept advertised routes.
--advertise-exit-node
Offer as exit node.
--exit-node node
Route traffic through node.
--hostname name
Device hostname.
--shields-up
Block incoming connections.
--ssh
Enable Tailscale SSH.
--login-server url
Custom control server.
--authkey key
Pre-auth key.
--accept-dns
Accept DNS configuration from the admin console.
--advertise-routes CIDR
Expose physical subnet routes to the tailnet.
--advertise-tags TAGS
Give tagged permissions to this device.
--force-reauth
Force re-authentication.
--reset
Reset unspecified settings to their defaults.
--qr
Generate a QR code for the login URL.
--exit-node-allow-lan-access
Allow LAN access while using an exit node.
--operator USER
Unix username to operate tailscaled without sudo.
--timeout DURATION
Maximum wait time for service initialization.

SEE ALSO

Copied to clipboard
Kai