How-to guides
How to reach your server from your phone and laptop
What you get
Section titled “What you get”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.
Before you start
Section titled “Before you start”- An OpenMausBot server you can reach with
ssh myserverfrom this computer (see how to run OpenMausBot 24/7 on a home server). - A Tailscale account (free for personal use) if you pick Tailscale.
Below, myserver is the server’s SSH alias and anything in <…> is a value you replace.
Decisions
Section titled “Decisions”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.
Hand this to your agent
Section titled “Hand this to your agent”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.Only you can do this
Section titled “Only you can do this”- Open the Tailscale login link and approve the machine.
- 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).
- Install Tailscale on your phone and sign in to the same account.
- 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.
Check it worked
Section titled “Check it worked”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.
Where it goes wrong
Section titled “Where it goes wrong”- 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 statuson the server: if the phone’s line showsrelay "…", 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.
Spotted a mistake or something out of date? Tell us on GitHub
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.