grayform b33

← guides

Remote access · 10 minutes

Reach your PC from anywhere with Tailscale

A private network between your own devices. No open ports on your router.

Tailscale connects your devices into one private network, called a tailnet. Each device gets a private address that only your devices can use.

The point: you do not open any port on your router. Nothing on your home network is visible to the public internet.

Set it up

  1. Install Tailscale on your computer from tailscale.com/download.
  2. Sign in. Use an account you control and protect it with two-factor login.
  3. Install Tailscale on your phone from your app store and sign in with the same account.
  4. Open the Tailscale app on each. Both should show as connected.
  5. Your computer now has a name and an address in the app.

Connect

From your phone, connect to the computer using its Tailscale name:

ssh you@your-pc

If the name does not work, use the address shown in the app. It looks like 100.x.y.z.

MagicDNS: use names, not numbers

MagicDNS gives each device a short name, so you type your-pc instead of remembering numbers.

  1. Open the Tailscale admin page in a browser.
  2. Go to the DNS page.
  3. Make sure MagicDNS is on.

Rename a device in the admin page if you want something shorter. Pick a boring name. Do not put personal details in it.

Keep it safe

  1. Turn on two-factor login for your Tailscale account.
  2. Leave SSH on keys only.
  3. Remove old devices you no longer own from the admin page.
  4. Turn on key expiry if you want devices to re-check in from time to time.

The Android gotcha: one VPN at a time

Android allows one active VPN at a time. Tailscale is a VPN to Android. So is any other VPN app.

If you turn on another VPN app, Tailscale drops, and your computer disappears.

Fixes, in order of tidiness:

  1. Use only Tailscale, and get your privacy VPN through it (see the Mullvad guide).
  2. Or switch off the other VPN before you connect.
  3. Check the key icon in the status bar to see which VPN is active.

If it does not work

  • Computer does not show up: is it awake, and is Tailscale running on it? Check the system tray icon.
  • Phone shows connected but nothing loads: another VPN app may be active. Open Android settings, search for VPN, and look.
  • Name does not resolve: use the address instead, then check MagicDNS is on.
  • SSH times out over Tailscale: the firewall may block the Tailscale network. Check the rule in the SSH server guide.
  • Works at home, not away: open the Tailscale app on the phone and check it is connected, not paused.