MirrorNest
← Tous les guides

Tailscale for remote server access

Tailscale creates a private mesh VPN (built on WireGuard) between your devices with almost no configuration — the easiest way to securely reach a home server from anywhere without opening ports on your router.

Système : Ubuntu / Debian / most Linux distributionsVPNremote-accessWireGuardSite officiel ↗Documentation officielle ↗
Ce guide est élaboré à partir de la documentation officielle de Tailscale for remote server access, dont le lien figure ci-dessus — vérifiez toujours les noms exacts des paquets/versions avant d'exécuter ces commandes sur un serveur de production, car les versions de la distribution et du projet évoluent avec le temps.
  1. 1Install Tailscale

    curl -fsSL https://tailscale.com/install.sh | sh
  2. 2Authenticate the device

    This opens a link to log in with your Tailscale account (Google/Microsoft/GitHub/email) and add this machine to your private network.

    sudo tailscale up
  3. 3Install Tailscale on your other devices too

    Repeat the same install+login on your phone, laptop, etc. -- once two devices are on the same Tailscale network (called a 'tailnet'), they can reach each other directly by a stable 100.x.x.x IP, from anywhere, with no port forwarding.

  4. 4(Optional) enable Magic DNS

    Magic DNS lets you reach devices by a friendly name (e.g. home-server) instead of memorizing their Tailscale IP, configured from the Tailscale admin console.

    The free tier covers up to 3 users and 100 devices, comfortably enough for personal/home use.