MirrorNest
← すべてのガイド

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.

対象: Ubuntu / Debian / most Linux distributionsVPNremote-accessWireGuard公式ホームページ ↗公式ドキュメント ↗
このガイドは上記リンク先にあるTailscale for remote server access公式ドキュメントをもとに作成されています。ディストリビューションやプロジェクトのバージョンは時間とともに変わるため、本番サーバーでこれらのコマンドを実行する前に、必ず公式ドキュメントで正確なパッケージ名・バージョン名を確認してください。
  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.