Skip to content

How-to guides

How to reach your server from your phone and laptop

A stable HTTPS address for your server that works on every device, so you can drop the SSH tunnel, install the desktop app, and chat with your bots from your phone.

Below, myserver is the server’s SSH alias and anything in <…> is a value you replace.

Tailscale (--tailscale) OpenMausBot tunnel (--tunnel) Your own domain (--domain or --public-url)
Who can reach it Only your devices on your tailnet Anyone with a pairing code Anyone with a pairing code
Needs Tailscale on server and devices An OpenMausBot account (email code) --domain: the domain pointing at this machine, ports 80 and 443 open; --public-url: HTTPS already in front (cloudflared, Caddy, nginx…)
Phone needs an app Tailscale No No
Best for Privacy Fastest public setup Public address you control

We recommend starting with Tailscale. Nothing is exposed to the internet, and it is free for personal use.

Your laptop and phone reach your server either over Tailscale, a private network only your devices can join, or through the OpenMausBot managed tunnel, a public https address that still requires a pairing code. Port 8799 on the server stays private, and every device pairs once.Your laptop and phone reach your server either over Tailscale, a private network only your devices can join, or through the OpenMausBot managed tunnel, a public https address that still requires a pairing code. Port 8799 on the server stays private, and every device pairs once.
Prompt
On my OpenMausBot server (ssh alias "myserver"), switch remote access from an SSH tunnel to Tailscale:
1. Install Tailscale and run `tailscale up --hostname=<name>`. Give me the login link it prints and wait.
2. After I confirm, run `sudo tailscale set --operator=<server user>` so OpenMausBot can manage Tailscale
without root, then `openmausbot service install --tailscale` and run the commands it prints to reload and restart the service.
3. Verify from this computer: https://<name>.<tailnet>.ts.net/api/health returns {"app":"openmausbot"...}.
4. Create pairing links with `openmausbot pair --label "<device>" --public-url https://<name>.<tailnet>.ts.net`,
one for this computer and one for my phone, and give them to me one at a time (they last 10 minutes).
5. Stop the old SSH tunnel process on this computer.
Do not change the server's DNS, routes or exit node.
  1. Open the Tailscale login link and approve the machine.
  2. In the Tailscale admin console: DNS → HTTPS Certificates → Enable (OpenMausBot needs a certificate), and on the machine, Disable key expiry (otherwise it drops off after 180 days).
  3. Install Tailscale on your phone and sign in to the same account.
  4. Open each pairing link on its device. In the desktop app, use Server → Add Server from Copied Pairing Link… and paste the link. Don’t choose Make <server> my home unless you mean to move all your bots there.

On any device on your tailnet, open https://<name>.<tailnet>.ts.net/api/health. If it returns a response, the connection works. Paired browsers, apps and phones are listed under Settings → Computer → This server → Pair a phone or computer.

What a phone can do depends on how it is paired. A phone browser paired with a code gets the same web app as your computer. The native iOS app, and anything paired with client-only access, can chat, answer approval cards and read. creating bots, changing models and connecting apps stay in the web app. Neither gets alerts once the app is closed: the web app has no push notifications, and the iOS app alerts only while open or briefly in the background.

  • The service crash-looped right after switching. The log said Tailscale refused: on Linux run sudo tailscale set --operator=$USER once. That’s step 2 of the prompt.
  • The phone loads the page but stays on “connecting”. On mobile data, if Tailscale can’t open a direct path it falls back to a relay (DERP). Relays are slower than direct connections, so the page loads but the live event stream may not keep up. Run tailscale status on the server: if the phone’s line shows relay "…", the connection is relayed. Hard NAT and firewalls are common reasons a direct path fails.
  • To open it like an app on your phone: on iPhone, add the page to the Home Screen from Safari; on Android, open Chrome’s menu and choose Install.

MausBot Guide is an independent, unofficial community guide and is not affiliated with Supamaus Software Private Limited. OpenMausBot, MausBot and the mascot are trademarks of their respective owner.