Tailscale: Secure and Easy WireGuard-based VPN with 2FA and SSO

Tailscale: Secure and Easy WireGuard-based VPN with 2FA and SSO

Summary

Tailscale offers a simple and secure way to build private networks using WireGuard, integrating 2FA and SSO for enhanced access control. This open-source repository contains the core `tailscaled` daemon and `tailscale` CLI tool, enabling cross-platform secure connectivity. It simplifies network configuration, making secure remote access and device communication effortless.

Repository Info

Updated on March 30, 2026
View on GitHub

Tags

Click on any tag to explore related repositories

Introduction

Tailscale provides the easiest, most secure way to use WireGuard and integrate 2FA, OAuth, and SSO for your private networks. This repository is the heart of Tailscale's open-source efforts, containing the tailscaled daemon and the tailscale command-line interface (CLI) tool. The daemon runs across various platforms including Linux, Windows, macOS, FreeBSD, and OpenBSD, forming the backbone of your secure network. Tailscale's approach simplifies complex networking, allowing devices to securely connect as if they were on the same local network, regardless of their physical location.

Installation

Tailscale offers convenient packages for a wide array of distributions and platforms. You can find these official packages at https://pkgs.tailscale.com.

For those who prefer to build from source, the project requires the latest Go release, currently Go 1.26. You can install the tailscale CLI and tailscaled daemon using the following command:

go install tailscale.com/cmd/tailscale{,d}

If you are packaging Tailscale for distribution, it is recommended to use the build_dist.sh script to embed commit IDs and version information into the binaries, ensuring useful version data for bug reports.

Examples

The tailscale CLI tool provided in this repository is central to managing your Tailscale network. It allows users to connect to their private network, authenticate devices, manage services, and control network settings. While specific command examples are extensive and covered in Tailscale's official documentation, the CLI empowers users to fully configure and interact with their secure WireGuard network, enabling seamless peer-to-peer connectivity between all authorized devices.

Why Use Tailscale

Tailscale stands out for its unparalleled ease of use in setting up secure private networks. By leveraging WireGuard, it provides fast and encrypted connections without the complexities often associated with VPNs. Its integration with 2FA, OAuth, and SSO ensures robust access control and security, making it ideal for both personal use and enterprise environments. The cross-platform compatibility and the ability to connect devices effortlessly make Tailscale an excellent choice for secure remote access, file sharing, and internal service exposure.

Links