Get started
Login
© 2024

Setting up Tailscale on CentOS 8

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

  1. Add the Tailscale repository and install Tailscale:

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

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

    sudo tailscale up
    
  4. 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.

Last updated Dec 20, 2024