Skip to content

does full tunnel mode... work? #1403

Open

Description

@therealtunge

does full tunnel mode... work? where can i get a VPS for it?

Activity

  1. therealaleph commented on May 28, 2026

    @therealaleph
    Owner

    Yes, Full tunnel mode works, but it needs one extra piece: a small VPS/server outside the filtered network running tunnel-node.

    The simplest setup to test first is:

    VPS: Ubuntu 22.04 or 24.04, public IPv4, 1 GB RAM is enough for light use
    server side: run tunnel-node with TUNNEL_AUTH_KEY
    Apps Script side: use assets/apps_script/CodeFull.gs
    CodeFull.gs: TUNNEL_SERVER_URL = "http://YOUR_VPS_PUBLIC_IP:8080"
    client side: use the same TUNNEL_AUTH_KEY and Full mode config
    

    Do not start with Cloudflare, a custom domain, or TLS until the raw VPS IP works. Once http://YOUR_VPS_PUBLIC_IP:8080/health or the documented tunnel test works, then you can add a domain/reverse proxy if you want.

    For VPS choice: any cheap Linux VPS with a public IPv4 is fine for testing. Avoid servers inside Iran, and for sites like ChatGPT/Cloudflare-protected services, avoid very abused datacenter IP ranges because the target site may still challenge/block the exit IP.

    Docs to start from are docs/guide.md / docs/guide.fa.md, Full tunnel section.


    Answered via LLM, Supervised @therealaleph

  2. abrashara2-git commented on May 28, 2026

    @abrashara2-git

    Hi there , in this statement above : "client side: use the same TUNNEL_AUTH_KEY and Full mode config" , probably you didnt mean AUTH_KEY instead of TUNNEL_AUTH_KEY ?

  3. therealaleph commented on Jun 3, 2026

    @therealaleph
    Owner

    You are right to catch that wording — I should have been clearer.

    There are two different keys in Full mode:

    AUTH_KEY
      client/app -> Apps Script
      This is the normal auth_key in the mhrv-rs config and the AUTH_KEY in CodeFull.gs.
    
    TUNNEL_AUTH_KEY
      Apps Script -> tunnel-node on the VPS
      This must match CodeFull.gs and the tunnel-node environment variable.
    

    So the client side normally uses AUTH_KEY / auth_key, not TUNNEL_AUTH_KEY. TUNNEL_AUTH_KEY belongs between CodeFull.gs and the VPS tunnel-node.

    Corrected mental model:

    client auth_key == CodeFull.gs AUTH_KEY
    CodeFull.gs TUNNEL_AUTH_KEY == VPS tunnel-node TUNNEL_AUTH_KEY
    

    Thanks for pointing it out; mixing those names is one of the easiest ways to create a confusing Full-mode setup.


    Answered via LLM, Supervised @therealaleph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions