Luoboyun1 GB of trial traffic for new accounts, valid 24 hours, for Clash / Mihomo clientsAlipay, WeChat or cryptoSign upAdAdLuoboyun, 1 GB to tryFor new accounts, 24 hours, Alipay / WeChat / cryptoSign up
dl-tailscale.is
English
简体中文繁體中文EnglishРусскийفارسی

Dropouts Compiled

Gone after half a year

A server that vanishes after half a year usually has an expired key. Which devices should never expire, which should, and how to get back in.

Time is up and the flag turns over
Time is up and the flag turns over MarkBuckawicki, CC0

A device that always worked suddenly reads Expired in the console. By default a device key lasts 180 days; after that nothing reaches it until someone signs in again.

The classic: installed on the NAS before a trip, half a year of peace, and one day away it does not connect. One click at the start would have prevented it. So go to the console first and then read on.

Why keys expire

So that a lost laptop does not stay in your network for good. On anything you carry around, expiry is right.

Where to turn it off

DeviceExpiry
NAS, Raspberry Pi at homeOff
Cloud serverOff, or use a tag
Exit node, subnet routerOff
Laptop, phoneOn
A computer you lent outOn, and shorter
  1. Admin consoleMachines page
  2. Find the devicethree dots on the right
  3. Disable key expirythis one stays
Where the setting is

Devices that sign in with a tag do not expire by default, which suits servers.

For the whole network

Key Expiry on the Device management page takes 1 to 180 days. It applies to later sign-ins only.

Already expired

If you are next to it, sign in again:

On that device
sudo tailscale up --force-reauth

If you are elsewhere and Tailscale is the only way in: the device's menu on the Machines page has Temporarily extend key. It gives you 30 minutes to connect and sign in again, or to turn expiry off.

Three minutes now

  1. Machines page.
  2. Look for "Expires soon" or "Expired".
  3. For always-on devices that never leave: the dots → Disable key expiry.

What happens when it expires

ConnectionWorks
From it to othersNo
From others to itNo
Its own internetYes, unless by an exit node
It is an exit nodeIts users have no internet
It is a subnet routerThe whole range is gone

Getting it back

On site: sign in again or tailscale up --force-reauth.

Another way in: public SSH, the host's console, another machine in the LAN; run it and confirm the address on your phone.

Only Tailscale: Temporarily extend key gives thirty minutes; first disable expiry, then nothing is urgent.

Somebody is there: restarting does not help. Let them send the address; you sign in on your own phone.

Tags instead of people

A server under a person's account fails when that person leaves. Define a tag in the policy, then:

On the server
sudo tailscale up --advertise-tags=tag:server --force-reauth

Tagged devices do not expire by default. It disconnects for a moment, so not over Tailscale.

Sensible settings

  1. Default 180 daysLeave it
  2. NAS, small machine, routerOff
  3. Phones, laptopsOn
  4. A child's old tabletOn, ends by itself if lost
A family

Companies may choose 30 or 90 days with single sign-on.

Know in advance

A calendar note every five months, or a script that lists expiring devices by the API.

Is there a warning?

The phone app sends a notification if you allowed it, and the console shows the date.

The console signs me out every month. Same thing?

No. That browser session has its own 30 days.

Is turning it off unsafe?

For things you carry, if lost they stay in. Delete a lost device at once.

Expired or deleted?

Expired returns with the same address; deleted becomes a new device.

Does signing in change the address?

Not unless it was deleted.

Read next

Neighbouring topics

Keywords on this page: Tailscale key expiry, Tailscale disconnects after 180 days, disable key expiry