Remote Private Networking with Tailscale

Use Tailscale to securely connect remote devices and access private network resources.

Tailscale Remote Network

Introduction

Sometimes we build tools without a full authentication system, or we need to access private network resources from another location. In this case, Tailscale is a simple way to build a secure virtual LAN across different networks.

What is Tailscale?

Tailscale is a free private networking solution built on WireGuard. It provides an easy-to-use experience for remote access and private mesh networking.

Install Tailscale

Linux is used as the example here:

curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up

Open the login link shown in the terminal and sign in. For users in mainland China, a GitHub account is often easier to access than Google login.

Install and sign in on the other device you want to join to the same network.

Reference:

Tailscale Download

image

Connect and access

After registration, sign in to Tailscale Machines to view private network IPs.

image

Access your service by using:

private-ip:port