You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 ?
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.
Activity
therealaleph commentedon May 28, 2026
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:
Do not start with Cloudflare, a custom domain, or TLS until the raw VPS IP works. Once
http://YOUR_VPS_PUBLIC_IP:8080/healthor 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
abrashara2-git commentedon May 28, 2026
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 ?
therealaleph commentedon Jun 3, 2026
You are right to catch that wording — I should have been clearer.
There are two different keys in Full mode:
So the client side normally uses
AUTH_KEY/auth_key, notTUNNEL_AUTH_KEY.TUNNEL_AUTH_KEYbelongs betweenCodeFull.gsand the VPS tunnel-node.Corrected mental model:
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