Skip to content

Full tunnel mode #1399

Open
Open

Description

@SirKDM

Greetings, your doings has be a blast and I've been a user or better said a beta tester since day one, thank you in advance 老板 :) !

1.In the codeFull.gs, the TUNNEL_SERVER_URL = "https://YOUR_TUNNEL_NODE_URL"; part, is the pipe required? Example: 127.0.0.1:8080 ? Or without the 8080

  1. In the mhrv-rust android app/advance/upstream socks5, is it the same value as the vps ip ( with tunnel-node up and running) w/or without pipe (8080) ?

  2. Also what is the uninstall or stop command for the tunnel node running on a Linux Ubuntu vps ( sorry for the rookie question)

I'm generally confusion over the full tunnel mode and since i got a leftover vps from trying the whitedns viral ( which was a total disappointment, hideous speed, one would say it's almost stale and i don't understand everyone's obsession with opening telegram with a goshdarn proxy OMG i want to set the communication ministry of iran on flammable liquids and start chain smoking ...)
I'd be really thankful if you please explain the full tunnel mode like you're explaining it to dentistry school graduate ( basically a 5 year old ), i have seen your other replies about this matter but please give me a more detailed one if you got time ! تشکر

Activity

  1. behnamgolds commented on May 26, 2026

    @behnamgolds

    @SirKDM just so we are on the same page, 8080 is a port number not a pipe.

    1. It depends, but If you are setting it up without any additionals of your own (domain name, nginx, certificates, cloudflare, etc) you should use this format:
    TUNNEL_SERVER_URL = "http://Vps.Public.Ip.Address:8080";
    
    1. No it is not the same as your vps ip address. It is for when you need to set a proxy to access the internet (which I believe you don't right now) or if you want to chain proxies (again I don't think you are) (If you don't know what it is, most likely you won't need it)

    2. I don't know about those options and I haven't seen them.

  2. SirKDM commented on May 26, 2026

    @SirKDM
    Author

    Wonderful! I'll try it once i get home to my filternet, thanks
    I have set up the vps with a domain behind cloudflare, should i undo them and rawdog the vps ip in configFull or would you please kindly give me an example despite all the rookie questions

  3. therealaleph commented on May 28, 2026

    @therealaleph
    Owner

    For Full tunnel, think of the pieces like this:

    Android/Desktop client -> Apps Script CodeFull.gs -> your VPS tunnel-node -> target website/app
    

    So for your questions:

    1. TUNNEL_SERVER_URL must be the public URL of the VPS service, including scheme and port if you are not using default 80/443. Example for the simplest raw test:
    const TUNNEL_SERVER_URL = "http://YOUR_VPS_PUBLIC_IP:8080";

    Do not use 127.0.0.1:8080 there. From Apps Script, 127.0.0.1 means Google's own sandbox, not your VPS.

    1. The Android app's upstream_socks5 is not the tunnel-node address. Leave that empty unless you intentionally want to chain mhrv-rs through some other SOCKS proxy. Full mode uses the TUNNEL_SERVER_URL inside CodeFull.gs, plus matching TUNNEL_AUTH_KEY on the VPS.

    2. If you used the Docker command from the docs, stop/remove it with:

    docker stop mhrv-tunnel
    docker rm mhrv-tunnel

    If you used systemd or a custom install script, check the service name with:

    systemctl list-units '*mhrv*' '*tunnel*'

    About Cloudflare/domain: first make the raw VPS IP work. After that, you can experiment with a domain or Cloudflare Tunnel, but adding Cloudflare before the raw path works makes debugging much harder. Plain orange-cloud proxying can also change long-lived request behavior, so treat it as a second step, not the baseline.


    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