Last updated: 2026-05-25
Tailscale Setup
Tailscale is the networking core of HiTerm. It lets your phone and PC communicate directly, even when they're on different networks.
Why Tailscale?
The Problem
Your phone and PC are usually on different networks:
| Device | Network | IP Address |
|---|---|---|
| Phone | 4G/5G mobile | Carrier-assigned dynamic IP |
| PC | Home WiFi or office LAN | Private IP (e.g. 192.168.x.x) |
They can't talk to each other directly โ like two buildings in different cities with no direct route.
The Solution
Tailscale creates a "virtual LAN" that brings all your devices into the same private network.
Analogy:
- Without Tailscale = You and a friend in different cities, can't meet
- With Tailscale = You're both teleported to the same virtual room, can talk directly
Why Tailscale over alternatives?
| Solution | Security | Setup Difficulty | Cost |
|---|---|---|---|
| Tailscale (used by HiTerm) | โ WireGuard encryption | โญ One command | Free |
| Public IP + port forwarding | โ Exposed to internet | ๐ด Contact ISP | Paid |
| Self-hosted VPN server | โ Controllable | ๐ด Need a server | Server cost |
| Other commercial VPN | Depends | ๐ก Moderate | Usually paid |
Key advantages:
- Zero-config NAT traversal, no public IP needed
- Peer-to-peer direct connection, no third-party relay
- End-to-end encryption (WireGuard protocol)
- Free personal plan, up to 100 devices
Prerequisites
Before you begin, make sure you have:
- An email account (for Tailscale registration)
- PC internet connection (WiFi or wired)
- Phone internet connection (WiFi or mobile data)
- Admin/sudo access (needed for installation)
Estimated time: 10 minutes (register + install + verify)
Register a Tailscale Account
- Visit tailscale.com and click "Get Started"
- Use Google, GitHub, Microsoft, or email to sign up
- After registration, access the admin console: login.tailscale.com
One account, all devices โ PC and phone use the same account.
PC Installation
Linux
curl -fsSL https://tailscale.com/install.sh | sh
After installation, start and login:
sudo tailscale up
Your browser will open the login page automatically. Just authorize.
macOS
brew install --cask tailscale
Or download from tailscale.com/download/mac. Open the app after installation and login.
Windows (WSL2)
Option 1: Install on Windows (Recommended)
- Download from tailscale.com/download/windows
- Install and login
- WSL2 automatically gets Tailscale network access (via Windows host network bridging)
Option 2: Install inside WSL2
curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up
Verify PC Installation
# Check Tailscale status
tailscale status
# Get your Tailscale IP (needed by HiTerm)
tailscale ip -4
Expected output:
100.x.x.x your-pc-name linux -
100.x.x.x is your Tailscale IP.
Phone Installation
Android
- Search "Tailscale" on Google Play and install
- Or download from tailscale.com/download/android
- Open the app and login with the same account as your PC
Verify Phone Connection
Open the Tailscale app and confirm it shows "Connected". Your PC should appear in the device list.
Verify Both Ends
On PC
tailscale status
You should see output like:
100.x.x.x your-pc-name linux -
100.y.y.y your-phone-name android -
Both devices online means the connection is working.
On Phone
Open the Tailscale app โ device list. Your PC should show as online.
FAQ
Q: Devices can't find each other?
A: Check these three things:
- Both ends are logged into the same Tailscale account
- Both are connected to the Tailscale network (app shows "Connected")
- No ACL restrictions in the Tailscale admin panel (free plan has none by default)
Q: Tailscale IP shows empty?
A:
- Confirm Tailscale is running:
sudo tailscale status - If not running, start:
sudo tailscale up - Check for conflicting Tailscale instances
Q: HiTerm says "Tailscale not detected"?
A:
- Run
tailscale statusto confirm Tailscale is online - Run
tailscale ip -4to get the IP - Run
hiterm doctorfor diagnostics
Q: Company network blocks Tailscale?
A:
- Some networks restrict Tailscale connections
- Try switching networks (e.g., phone hotspot)
- Contact your network administrator about firewall rules
More issues? See Troubleshooting & FAQ
Advanced Configuration (Optional)
Device Naming
Give your devices meaningful names:
# On PC
sudo tailscale set --hostname my-dev-pc
# View current hostname
tailscale status --self
MagicDNS
MagicDNS lets you access devices by name instead of IP. It's enabled by default.
# Ping by device name
ping my-dev-pc
Disconnect and Reconnect
# Temporarily disconnect (keep login)
sudo tailscale down
# Reconnect
sudo tailscale up
# Full logout (requires re-login)
sudo tailscale logout
Next Steps
After Tailscale is installed:
- Quick Start โ Install hiterm and pair in minutes
- PC Installation โ Install hiterm and dependencies
- Android Installation โ Install the phone app
- Architecture โ Understand HiTerm's P2P design
Tailscale ready? Next step is installing hiterm! ๐