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.
What every setup has in common
Section titled “What every setup has in common”-
Install herdr on the host, if it is not there yet.
-
Install the gateway:
Terminal window curl -fsSL https://hmob-app.github.io/install.sh | shThe script picks the binary for your platform, verifies it against the release’s
SHA256SUMSand installs it to~/.local/bin/hmob. It needs no root. -
Run it at boot with
hmob install-service --bind <private address>: a launchd agent on macOS, a systemd user service on Linux. -
Pair with
hmob pair --url https://<private address>:8443and 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.
Supported platforms
Section titled “Supported platforms”| 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 and uninstall
Section titled “Upgrade and uninstall”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:
hmob uninstall-service --allrm ~/.local/bin/hmobrm -r ~/.config/herdr-mobile # pairing state and certificates