Skip to content

Choose a setup

The hmob gateway runs next to herdr on the machine that hosts your sessions. Your iPhone, iPad or Android phone connects to it over a private network, or through a relay you deploy yourself, so the gateway never listens on the public internet.

Hmob needs herdr: the gateway reads the herdr sessions on its host, so every agent you run in a herdr pane, such as Claude Code or Codex, shows up in the app. No SSH server or SSH keys are involved.

Where herdr runs Network Guide
Your Mac Tailscale Mac with Tailscale
A cloud server (EC2, VPS, …) Tailscale Cloud server with Tailscale
A cloud server Your own WireGuard tunnel Cloud server with WireGuard
Your Mac or a cloud server A relay in your own Cloudflare account Cloudflare relay

Tailscale is the quickest route: install it on both ends and sign in to the same account. WireGuard needs no third-party coordination service, but you set up the tunnel and the firewall yourself. A Cloudflare relay needs nothing on the phone but the app and no open port on the host: both dial out to a relay you deploy on Cloudflare’s free plan, which sees only end-to-end encrypted messages. It has no lock-screen notifications.

  1. Install herdr on the host, if it is not there yet.

  2. Install the gateway:

    Terminal window
    curl -fsSL https://hmob.app/install.sh | sh

    The script picks the binary for your platform, verifies it against the release’s SHA256SUMS and installs it to ~/.local/bin/hmob. It needs no root.

  3. Run it at boot with hmob install-service --bind <private address>: a launchd agent on macOS, a systemd user service on Linux.

  4. Pair with hmob pair --url https://<private address>:8443 and scan the QR code in the app.

    With a relay, steps 3 and 4 are one command, hmob add: see the Cloudflare relay guide.

The QR code holds a one-time code (valid for 5 minutes) and the SHA-256 fingerprint of the gateway’s certificate. The app accepts that certificate only, so a self-signed certificate works without any warning. Always pair by scanning: manual entry has no fingerprint and fails against a self-signed certificate.

Host Binary
macOS on Apple silicon darwin-arm64
Linux x86_64 (any distribution, static musl build) linux-x86_64
Linux aarch64 / arm64 linux-aarch64

Intel Macs are not supported.

Upgrade by running the install command again, then your hmob install-service … command with the same --bind (or hmob install-service --relay with a relay), so the service restarts on the new binary.

Uninstall with:

Terminal window
hmob uninstall-service --all
rm ~/.local/bin/hmob
rm -r ~/.config/herdr-mobile # pairing state and certificates