Setting up Tailscale on CentOS 7

Packages are available for x86 and ARM CPUs, in both 32-bit and 64-bit variants.

  1. Install the Yum repository manager:

    sudo yum install yum-utils
    
  2. Add the Tailscale repository and install Tailscale:

    sudo yum-config-manager --add-repo https://pkgs.tailscale.com/stable/centos/7/tailscale.repo
    sudo yum install tailscale
    
  3. Use systemctl to enable and start the service:

    sudo systemctl enable --now tailscaled
    
  4. Connect your machine to your Tailscale network and authenticate in your browser:

    sudo tailscale up
    
  5. You’re connected! You can find your Tailscale IPv4 address by running:

    tailscale ip -4
    

If the device you added is a server or remotely-accessed device, you may want to consider disabling key expiry to prevent the need to periodically re-authenticate.

Some routing features such as exit nodes may not work on CentOS because Tailscale’s routing is not yet compatible with firewalld.