Install and configure the Tailscale VPN service

Install Tailscale on your PC and log in with your account.

Once you create an account in Tailscale, you can generate API keys in the admin console.

Generate the Auth Keys. There are options to:

  • Generate a key that gets deactivated after authorising one device

  • Generate a key that can authorise many devices.

Enable 'Reusable' to specify an expiry date.

Note:

  • Before you begin, ensure the device's time is correct (timedatectl); otherwise, enable ntp sync.

Below is an example script for installation. One can modify the version to be installed, as well as the location where the key is stored, if needed.

Note:

  • Ensure the device has an active internet connection when installing.

Example:

Last updated