Skip to content

Remote Access

Paco5687 edited this page Jul 13, 2026 · 2 revisions

Remote Access (Zero-Trust)

The golden rule: autormm grants full control of every enrolled host, so the hub is a crown-jewel target. Keep it on your LAN as plain IP:port and never expose it directly to the open internet.

To reach your lab from outside your network, put a zero-trust overlay in front of it rather than opening a port. autormm is plain HTTP/WebSocket on a port, so it works with all of these out of the box — no special configuration.

Twingate

  1. Deploy a Twingate Connector inside your network (if you don't have one).
  2. Add a Resource pointing at the hub's IP:port (or a DNS alias).
  3. Assign it to your group.

Now anyone with the Twingate app (and access) can open http://<hub-ip>:8765 from anywhere — no inbound ports opened. Hosts that roam off your LAN can also reach the hub the same way.

Tailscale / WireGuard

Put the hub, your client devices, and (optionally) roaming agents on the overlay network. Reach the hub at its overlay address. This is the simplest option if you also want traveling agents to phone home.

Reverse proxy (optional)

A reverse proxy is not required. If you want a hostname or TLS termination, Traefik / nginx / Caddy work fine — deploy/traefik-autormm.yml is a LAN-only example. Do not use a reverse proxy as your only barrier to the internet; put a zero-trust layer or VPN in front regardless.

Transport security

When traffic leaves a trusted link, run behind TLS — either your reverse proxy / overlay handles it, or use the hub's built-in -tls-cert / -tls-key. Agents verify certificates unless started with --insecure.

Treat tokens like root

The admin and enroll tokens are effectively root over your whole fleet. Guard them, and rotate them if they leak.

Clone this wiki locally