{
  "schema_version": "1.0",
  "publisher": "AI Release",
  "article": {
    "title": "How to Expose a Local LLM to the Internet Without Port Forwarding: Tunnels and Reverse Proxy",
    "canonical_url": "https://ai-release.org/guides/kak-otkryt-dostup-k-lokalnoy-llm-iz-interneta-bez-probr_en.html",
    "language": "en",
    "article_type": "guide",
    "published_at": null,
    "updated_at": "2026-11-22T00:00:00+00:00"
  },
  "summary": "Time to complete: ~30 minutes Difficulty: Intermediate",
  "topics": [
    "доступ к локальной LLM из интернета",
    "openai-совместимый API за NAT",
    "cloudflare tunnel ollama",
    "reverse proxy для локальной модели"
  ],
  "entities": [
    {
      "id": "E1",
      "name": "доступ к локальной LLM из интернета",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E2",
      "name": "openai-совместимый API за NAT",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E3",
      "name": "cloudflare tunnel ollama",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E4",
      "name": "reverse proxy для локальной модели",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E5",
      "name": "Linux",
      "type": "платформа/технология",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E6",
      "name": "OpenAI",
      "type": "компания",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    }
  ],
  "claims": [
    {
      "id": "AR-GUIDE-KAKOTKRYTD-001",
      "statement": "Time to complete: ~30 minutes",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/kak-otkryt-dostup-k-lokalnoy-llm-iz-interneta-bez-probr_en.html",
      "article_anchor": "#tldr",
      "evidence_excerpt": "Time to complete: ~30 minutes"
    },
    {
      "id": "AR-GUIDE-KAKOTKRYTD-002",
      "statement": "Difficulty: Intermediate",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/kak-otkryt-dostup-k-lokalnoy-llm-iz-interneta-bez-probr_en.html",
      "article_anchor": "#tldr",
      "evidence_excerpt": "Difficulty: Intermediate"
    },
    {
      "id": "AR-GUIDE-KAKOTKRYTD-003",
      "statement": "You will need: a machine running a local LLM server (Ollama is used here), cloudflared (Cloudflare Tunnel client) or ngrok, Caddy as a local reverse proxy, a domain whose DNS you control, systemd-based Linux (paths shown for Ubuntu-style systems). Exact version requirements — check the documentation of each tool.",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/kak-otkryt-dostup-k-lokalnoy-llm-iz-interneta-bez-probr_en.html",
      "article_anchor": "#tldr",
      "evidence_excerpt": "You will need: a machine running a local LLM server (Ollama is used here), cloudflared (Cloudflare Tunnel client) or ngrok, Caddy as a local reverse proxy, a domain whose DNS you control, systemd-based Linux (paths shown for Ubuntu-style systems). Exact version requirements — check the documentation of each tool."
    },
    {
      "id": "AR-GUIDE-KAKOTKRYTD-004",
      "statement": "Result: your local model answers at https://llm.<your-domain>/api/generate while no inbound port is opened on your router.",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/kak-otkryt-dostup-k-lokalnoy-llm-iz-interneta-bez-probr_en.html",
      "article_anchor": "#tldr",
      "evidence_excerpt": "Result: your local model answers at https://llm.<your-domain>/api/generate while no inbound port is opened on your router."
    },
    {
      "id": "AR-GUIDE-KAKOTKRYTD-005",
      "statement": "[ ] Local model responds on http://127.0.0.1:11434",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/kak-otkryt-dostup-k-lokalnoy-llm-iz-interneta-bez-probr_en.html",
      "article_anchor": "#requirements",
      "evidence_excerpt": "[ ] Local model responds on http://127.0.0.1:11434"
    },
    {
      "id": "AR-GUIDE-KAKOTKRYTD-006",
      "statement": "[ ] A domain on Cloudflare (for cloudflared) or an ngrok account with a domain",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/kak-otkryt-dostup-k-lokalnoy-llm-iz-interneta-bez-probr_en.html",
      "article_anchor": "#requirements",
      "evidence_excerpt": "[ ] A domain on Cloudflare (for cloudflared) or an ngrok account with a domain"
    },
    {
      "id": "AR-GUIDE-KAKOTKRYTD-007",
      "statement": "[ ] caddy installed and caddy binary on PATH",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/kak-otkryt-dostup-k-lokalnoy-llm-iz-interneta-bez-probr_en.html",
      "article_anchor": "#requirements",
      "evidence_excerpt": "[ ] caddy installed and caddy binary on PATH"
    }
  ],
  "relationships": [
    {
      "subject": "Guide",
      "predicate": "describes",
      "object": "How to Expose a Local LLM to the Internet Without Port Forwarding: Tunnels and Reverse Proxy",
      "claim_id": "AR-GUIDE-KAKOTKRYTD-001"
    },
    {
      "subject": "Guide",
      "predicate": "includes step",
      "object": "Step 1. Bind the model to loopback and verify the local API",
      "claim_id": "AR-GUIDE-KAKOTKRYTD-001"
    }
  ],
  "questions_and_answers": [
    {
      "question": "What is required?",
      "answer": "[ ] Local model responds on http://127.0.0.1:11434; [ ] A domain on Cloudflare (for cloudflared) or an ngrok account with a domain; [ ] caddy installed and caddy binary on PATH; [ ] cloudflared installed",
      "claim_ids": [
        "AR-GUIDE-KAKOTKRYTD-003"
      ],
      "article_anchor": "#requirements"
    },
    {
      "question": "How to do it?",
      "answer": "Step 1. Bind the model to loopback and verify the local API → Step 2. Put Caddy in front and publish it through a tunnel → Step 3. Verify the public endpoint and shut the open door",
      "claim_ids": [
        "AR-GUIDE-KAKOTKRYTD-004"
      ],
      "article_anchor": "#step-1"
    },
    {
      "question": "Which topics does it cover?",
      "answer": "доступ к локальной LLM из интернета, openai-совместимый API за NAT, cloudflare tunnel ollama, reverse proxy для локальной модели",
      "claim_ids": [
        "AR-GUIDE-KAKOTKRYTD-002"
      ],
      "article_anchor": "#entities"
    },
    {
      "question": "What are the key points?",
      "answer": "Time to complete: ~30 minutes Difficulty: Intermediate",
      "claim_ids": [
        "AR-GUIDE-KAKOTKRYTD-007"
      ],
      "article_anchor": "#tldr"
    }
  ],
  "limitations": [
    "Current versions, prices and limits.",
    "Independent benchmarks and quality checks.",
    "Terms of use and data policy."
  ],
  "citation": {
    "preferred_citation": "AI Release. Как открыть доступ к локальной LLM из интернета без проброса портов: туннели и reverse proxy. https://ai-release.org/guides/kak-otkryt-dostup-k-lokalnoy-llm-iz-interneta-bez-probr_en.html",
    "canonical_url": "https://ai-release.org/guides/kak-otkryt-dostup-k-lokalnoy-llm-iz-interneta-bez-probr_en.html",
    "publisher": "AI Release"
  }
}