Skip to content

Choose a setup

The hmob gateway runs next to herdr on the machine that hosts your sessions. Your iPhone connects to it over a private network, so the gateway never listens on the public internet.

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

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.

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

  2. Install the gateway:

    Terminal window
    curl -fsSL https://hmob-app.github.io/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.

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, 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