https://tailscale.com/blog/authentication-settings
Enable device approval and set key expiry in Tailscale admin console
Device approval for added control and customizable key expiry settings to enforce periodic reauthentication.
enable devicekey expiryset
https://tailscale.com/docs/features/access-control/key-expiry
Key expiry ยท Tailscale Docs
Prevent unnecessary re-authentication when you disable key expiry. Avoid disruptions in network connectivity and still keep your Tailscale network secure.
key expirytailscale docs