Tailscale and WireGuard setup
Reach your SSH, Docker and Proxmox hosts from iOS and Android without opening ports to the internet.
Why Capyshell connects directly
Capyshell does not require an account and does not route traffic through a cloud relay or tunnel service. Every connection goes straight from your phone to your servers over your local network or your own VPN. Your SSH keys, Proxmox API tokens and passwords stay in the iOS Keychain or Android Keystore on your device.
Exposing Proxmox port 8006 or SSH port 22 directly to the public internet is unnecessary and adds risk. Pairing Capyshell with Tailscale or WireGuard lets your phone reach private LAN addresses from anywhere while keeping your homelab off the public internet.
Using Tailscale
Tailscale creates an encrypted WireGuard mesh between your phone and your homelab without manual router port-forwarding.
Direct node access with MagicDNS or 100.x.y.z IPs
If Tailscale is installed on your SSH or Docker hosts, install the Tailscale app on your iPhone, iPad or Android device and sign in to the same tailnet. You can then add each host in Capyshell using either:
- Its MagicDNS hostname (for example,
docker-01ordocker-01.tail1234.ts.net), or - Its Tailscale IPv4 address in the
100.64.0.0/10range (for example,100.88.14.22).
Using MagicDNS names keeps your Capyshell host list readable and resilient if an address changes.
Subnet routers for LAN-only Proxmox nodes
Many homelab operators prefer not to install extra packages on a Proxmox VE hypervisor. Instead, you can run Tailscale as a subnet router on one always-on machine in your LAN (such as an LXC container, a small VM or a Raspberry Pi) and advertise your homelab subnet:
tailscale up --advertise-routes=192.168.1.0/24
Approve the advertised route in the Tailscale admin console. Once approved, your phone can reach your LAN-only Proxmox nodes, VMs and LXC containers at their normal private addresses (such as https://192.168.1.10:8006) whether you are on home Wi-Fi or cellular data.
If you use Tailscale ACLs, make sure your phone’s user or tag is permitted to reach TCP port 8006 on your Proxmox nodes and TCP port 22 (or your custom SSH port) on your SSH and Docker hosts.
Using WireGuard
If you run your own WireGuard endpoint on your router (such as OPNsense, pfSense, UniFi or OpenWrt) or on a dedicated host, Capyshell works over the standard WireGuard app on iOS and Android.
Split-tunneling your homelab CIDR
You do not need to send all of your phone’s internet traffic through your home connection just to check your lab. In your mobile WireGuard peer configuration, set AllowedIPs to your homelab subnet (and your WireGuard tunnel subnet) instead of 0.0.0.0/0:
[Interface]
PrivateKey = <your-phone-private-key>
Address = 10.66.66.2/32
DNS = 192.168.1.1
[Peer]
PublicKey = <your-router-public-key>
Endpoint = vpn.example.com:51820
AllowedIPs = 192.168.1.0/24, 10.66.66.0/24
PersistentKeepalive = 25
Including your internal DNS server lets Capyshell resolve local hostnames such as pve.lan or nas.home.arpa over the tunnel. If you connect by static IP address, you can omit DNS.
On-demand mobile VPN profiles
On iOS and iPadOS, the WireGuard app supports On-Demand Activation. Enabling it for cellular and for Wi-Fi networks other than your home SSID means your VPN connects automatically whenever you leave home, so Capyshell’s Overview, widgets and optional background checks can reach your servers without toggling the VPN manually.
On Android, you can enable the WireGuard tunnel from Quick Settings or configure Always-on VPN in Android’s network settings if you want the split tunnel kept active continuously.
Reverse proxies and self-signed certificates
Proxmox listens on HTTPS port 8006 by default with a self-signed certificate. You can connect to it directly over your VPN, or place it behind an internal reverse proxy such as Caddy, Traefik or Nginx.
- Reverse proxy URLs and base paths: Enter the full HTTPS URL in Capyshell, including any custom port or base path configured on your proxy (for example,
https://pve.home.arpaorhttps://lab.example.internal/proxmox). - Headers and WebSockets: Ensure your proxy does not strip the
Authorization: PVEAPIToken=…header, and forwardsUpgradeandConnectionheaders if you use Proxmox WebSocket consoles. - Built-in TLS certificate pinning: When you connect to a Proxmox node or internal reverse proxy using a self-signed certificate not trusted by your phone’s system store, Capyshell displays the certificate’s SHA-256 fingerprint and asks you to confirm it before sending your token. Once confirmed, Capyshell pins that certificate on your device and halts the connection if the certificate later changes until you review and trust the new fingerprint. Certificates signed by a public CA or an internal CA installed in your device’s trust store validate normally without extra prompts.
Next step: least-privilege Proxmox API tokens
Once your phone can reach your homelab over Tailscale or WireGuard, set up a privilege-separated Proxmox API token so Capyshell only has the permissions you want to grant. Follow the Proxmox API token guide for copy-paste pveum commands.