Skip to content

Remote access

Horde is for a LAN by default. Its own sign-in has throttled passwords and optional two-step sign-in, but no email recovery, and an administrator can use any configured OpenRouter key. Do not publish host port 8686 raw: to reach Horde from outside either use a VPN (below) or follow the internet exposure checklist.

See Security model and Ports & networking.

Preferred:  Client ──► Tailscale/VPN ──► Horde on LAN :8686

Optional:   Internet ──► Caddy/nginx (TLS) ──► 127.0.0.1:8686   (follow the checklist)

Preferred: Tailscale / WireGuard

Reach Horde as if you were on the LAN. No public port, no reverse proxy required.

  1. Install Tailscale (or WireGuard) on the Docker / TrueNAS host that runs Horde, or use an existing subnet router that can reach that host.
  2. Leave Compose publishing 8686:8080 on the LAN (or bind to a LAN IP only — see Compose bind tip below).
  3. From a device on the same Tailnet, open http://<tailscale-hostname-or-ip>:8686 (or your MagicDNS name).

Want offline videos and the installable app?

Those need an https:// address. Tailscale can provide one for free on your private tailnet with tailscale serve. See Offline & installed app → Setting up HTTPS.

Chromecast and similar receivers usually live on the home LAN, not on Tailscale. Prefer casting while you are on the same LAN as Horde; remote VPN access is for the browser UI and downloads admin.

WireGuard works the same way: join the LAN (or route to it), then use the Horde LAN URL. Horde does not need WireGuard-specific config.

Public HTTPS

To publish Horde under a public name with its own login, TLS, HORDE_TRUST_PROXY, HORDE_ALLOWED_HOSTS and required two-step sign-in, follow the internet exposure checklist. It has Caddy and nginx examples and the risks that remain.

Public HTTPS with an extra gate: Caddy + HTTP Basic Auth

An optional second gate in front of Horde's own login, handled by Caddy and not by Horde.

  1. Bind Horde so the internet cannot hit it directly — e.g. publish 127.0.0.1:8686:8080 (see below) and put Caddy on the same host.
  2. Generate a bcrypt hash for Basic Auth (caddy hash-password).
  3. Example Caddyfile:
horde.example.com {
        basicauth {
                # username + bcrypt hash from: caddy hash-password
                admin $2a$14$REPLACE_WITH_YOUR_HASH
        }
        reverse_proxy 127.0.0.1:8686
}
  1. Point DNS for horde.example.com at the host; Caddy obtains TLS automatically when ports 80/443 are reachable.

Casting through Basic Auth

Chromecast (and similar) often cannot send HTTP Basic credentials when fetching media. Prefer Tailscale / VPN for day-to-day use, and keep casting on the LAN. Cross-origin media access assumes a trusted path (see Security). Behind a reverse proxy on a public name, also set HORDE_ALLOWED_HOSTS.

If Caddy runs in Docker on the same Compose network, reverse_proxy horde:8080 instead of 127.0.0.1:8686.

SSO (Authelia, Authentik, Cloudflare Access)

Put your existing SSO / identity gateway in front of Horde the same way as Caddy: terminate TLS and auth on the gateway, then reverse-proxy to Horde on localhost or the Docker network.

Horde does not ship Authelia or Authentik configs. Follow their docs for a forward-auth or proxy-auth setup, then point the upstream at Horde. Examples of gateways people use: Authelia, Authentik, Cloudflare Access.

Compose bind tip

Default Compose publishes on all interfaces:

ports:
  - "8686:8080"

To accept connections only from the host (so a local reverse proxy is the only ingress):

ports:
  - "127.0.0.1:8686:8080"

To bind a LAN interface only, use that host IP instead of 127.0.0.1. See Ports & networking and Environment variables.

Do not expose these

Service Why
Ollama (11434) Unauthenticated model API; keep on LAN / Docker network only
bgutil-pot Internal POT helper for yt-dlp; no public role
AI provider API key Lives in Horde settings / env — anyone who reaches Horde can use or change it

Horde’s default threat model is “trusted network or trusted gateway.” To go beyond that, follow the internet exposure checklist.