Tailscale Setup
Tailscale is the default network backend for vybn. It lets you access your VM from any device on your tailnet — laptops, phones, tablets — using a WireGuard mesh network. This guide walks through the full setup.
1. Install Tailscale locally
Section titled “1. Install Tailscale locally”Download and install Tailscale on your local machine: tailscale.com/download
Make sure you’re logged in:
tailscale status2. Generate an auth key
Section titled “2. Generate an auth key”Go to the Tailscale admin console and generate an auth key.
- Use a reusable key if you plan to redeploy frequently
- Set an appropriate expiration
3. Configure vybn
Section titled “3. Configure vybn”Add the Tailscale settings to ~/.vybnrc:
cat >> ~/.vybnrc << 'EOF'VYBN_TAILSCALE_AUTHKEY="tskey-auth-..."EOFTailscale is the default, so no VYBN_NETWORK setting is needed.
Optional settings:
# Custom hostname on your tailnet (auto-generates a petname like claude-bright-falcon if unset)VYBN_TAILSCALE_HOSTNAME="claude-work"
# ACL tags for access controlVYBN_TAILSCALE_TAGS="tag:vybn"4. Deploy
Section titled “4. Deploy”vybn deployThe VM will:
- Install Tailscale
- Authenticate with your auth key
- Join your tailnet
- Become reachable via MagicDNS using an auto-generated petname (e.g.,
claude-bright-falcon)
5. Connect
Section titled “5. Connect”vybn connectYou can also SSH directly from any device on your tailnet:
ssh -i ~/.vybn/ssh/id_ed25519 claude@<petname>Mobile access
Section titled “Mobile access”For a complete guide to connecting from iOS and Android — including SSH key setup with Termius and SSH.id — see the Mobile SSH guide.
How it works
Section titled “How it works”Tailscale creates a direct WireGuard mesh between your devices. The VM’s firewall denies all ingress traffic — Tailscale uses outbound NAT traversal, so no inbound rules are needed. Your VM is reachable by hostname via MagicDNS from any device on your tailnet.
vybn uses standard SSH over Tailscale (not Tailscale SSH) to preserve SSH agent forwarding, which is needed for Git operations.