Host your own LLM and reach it from anywhere

Your GPU box is at home. Your apps, phone and teammates are not. Publish the model server over HTTPS, or keep it private and reach it only from your own machines.

  • Ollama
  • Open WebUI
  • llama.cpp server
  • vLLM
  • LM Studio
  • ComfyUI
  • Stable Diffusion WebUI

Set it up in three steps

  1. 1

    Start your model server

    Ollama listens on port 11434 by default. Open WebUI usually runs on 3000 or 8080.

    your GPU machine
    ollama serve
  2. 2

    Publish it with one command

    You get a stable HTTPS address that belongs to your SSH key (choosing your own name, like mymodel here, is part of the paid plans; without a name you keep a random one). Use it as the base URL in any OpenAI-compatible client.

    your GPU machine
    ssh -R mymodel:80:localhost:11434 exposenow.net
  3. 3

    Or keep it private

    Enrol the GPU machine as a device. Nothing is published; only your own signed-in keys can reach the port, from anywhere, through the tunnel.

    your laptop
    ssh -L 11434:gpu-box:11434 exposenow.net

Never publish a model server that has no authentication. Anyone who finds the address could use your GPU.

Why this way

Your data stays on your hardware

Prompts and documents go to your machine, not to a third-party API.

No router changes

The tunnel is an outbound SSH connection, so it works behind NAT and carrier-grade NAT.

Private or public, your call

Share a link with a teammate or keep the model reachable only from your own devices.

Streaming works

WebSockets and streamed responses pass through, so token-by-token output stays smooth.

Questions

Is it safe to expose Ollama to the internet?

Ollama has no login of its own, so do not publish it as it is. Put a reverse proxy that checks an API key in front of it (Caddy or nginx), use Open WebUI with accounts turned on, or skip publishing and use private device access so only your own keys can reach it.

Can I use it as an OpenAI-compatible endpoint?

Yes. Ollama, llama.cpp and vLLM expose OpenAI-compatible APIs. Point your client at your https address and add the API key your proxy checks.

Will a long generation be cut off?

Streaming responses are not cut off by the tunnel. Free tunnels do close after the session limit shown on the pricing page, and then reconnect with the same name.

Do I need to install anything?

No. If your computer has an SSH client (Windows 10 and later, macOS and Linux all do), you already have everything.

More guides