MasterHttpRelayVPN README

The project's README from github.com/masterking32/MasterHttpRelayVPN. As one markdown file: README.md.

MasterHttpRelayVPN

GitHub Ask DeepWiki oosmetrics oosmetrics

Youtube safe search and live streaming are now Bypassed & Working by default. so you don't need youtube_via_relay or Cloudflare / VPS exit_node for it.

Language: English | Persian / فارسی

نسخه فارسی با AI ایجاد شده. ترجیحا از نسخه انگلیسی استفاده کنید.

Telegram Channel 📣: https://t.me/MasterDnsVPN | @MasterDnsVPN

Telegram Group 📣: https://t.me/MasterDnsVPNGroup | @MasterDnsVPNGroup

❤️ Special Thanks to Abolix for making this project possible and maintaining it.

MasterHttpRelayVPN is a local proxy that routes browser traffic through a Google Apps Script relay using domain fronting. The simple path needs only this project and a free Google account. For sites that block Google egress, you can optionally add an exit node later.

We mainly use MITM (Man in the Middle) and Domain Fronting techniques.

Browser -> Local proxy -> Google front -> Your Apps Script relay -> Target site
                         network filter sees a Google-facing connection

Quick Menu 🧭

Click the links below for guides on common topics.

Getting Started : How to set up the proxy and deploy the Google relay.

Exit Node : Connect to Cloudflare Workers or a VPS for destinations to fix ChatGPT, Turnstile, and similar sites blocking Google IPs.

LAN Sharing : Share the proxy with other devices on your local network. (Android, iOS, other computers)

Configuration : Reference for all config options, plus diagnostic commands.

Security : Important notes on safely using and sharing the proxy.

Troubleshooting : Common issues and how to resolve them.

Docker : Instructions for running the proxy in a Docker container.

Architecture : Overview of the system design and components.

Fast Start ⚡

Before running the local proxy, deploy the Google relay once. You only need a Google account and about two minutes.

Deploy The Google Relay ☁️

  1. Open Google Apps Script and sign in.

  2. Click New project.

  3. Delete the default editor content.

  4. Open apps_script/Code.gs, copy everything, and paste it into Apps Script.

  5. Find this line and replace it with your own long secret:

    const AUTH_KEY = "your-secret-password-here";
    
  6. Click Deploy -> New deployment -> Web app.

  7. Set Execute as to Me.

  8. Set Who has access to Anyone.

  9. Click Deploy, approve the permission screen, and copy the Deployment ID.

Keep these two values ready for the setup wizard:

If you want more detail, use Getting Started.

Download the project with either Git or ZIP, then run the one-click launcher.

Option A: ZIP

Click to Download

Option B: Git

git clone https://github.com/masterking32/MasterHttpRelayVPN.git
cd MasterHttpRelayVPN

Then start the app:

Windows

start.bat

Linux / macOS

chmod +x start.sh
./start.sh

The launcher creates a virtual environment, installs dependencies, opens the setup wizard if config.json is missing, and starts the proxy.

After it starts, configure your browser to use:

Field Value
Proxy type HTTP
Address 127.0.0.1
Port 8085
SOCKS5 port 1080

After starting, CA will be installed automatically.

You can use telegram as : https://t.me/socks?server=127.0.0.1&port=1080 or if you are using PC client, you can add HTTP proxy with manually.

Common Next Steps 🛠️

Support And Updates 📣

Donate 🍩

If you find this project helpful, you can support it with a donation:

Safety 🔒

This project is provided for educational, testing, and research use. You are responsible for following applicable laws and service terms. Never share config.json, auth_key, ca/, or an exit-node URL together with a valid PSK. Read Security Notes before sharing the proxy with other devices.

License

MIT

MasterHttpRelayVPN (masterking32/MasterHttpRelayVPN)

Searching Database…

What is this?MasterHttpRelayVPN is a local proxy that routes your browser traffic through a Google Apps Script relay using domain fronting and MITM TLS interception, designed to evade DPI and censorship.
Is this a standalone app or something I run as a background process?It's a local Python proxy server you run on your machine; it exposes an HTTP proxy and a SOCKS5 port that you point your browser or apps at.
How do I get it running?Deploy the included Google Apps Script relay (copy appsscript/Code.gs into a new Apps Script project, set your AUTHKEY, and deploy as a web app), then download this repo and run the one-click launcher for Windows or Linux/macOS, which sets up a virtual environment and starts the proxy.
Do I need a Google account or server to use this?You just need a free Google account to deploy the Apps Script relay; no VPS is required for the basic setup, though you can optionally add a Cloudflare Workers or VPS exit node for sites that block Google IPs.
Does this work with every website, like ChatGPT?Some sites such as ChatGPT or those using Turnstile may block the Google exit IP and require setting up an optional exit node (Cloudflare Workers or a VPS) to work properly.
Can I share the proxy with my phone or other devices on my network?Yes, there's a LAN Sharing guide for connecting other devices on your local network including Android and iOS, and Docker instructions for containerized deployment.
Is it safe to share my config with others?No — the README explicitly warns never to share your config.json, authkey, CA certificate folder, or an exit-node URL together with a valid PSK, since that would expose your proxy to misuse.
Why does it need to install a CA certificate?It performs MITM TLS interception to inspect and relay HTTPS traffic, so after starting, it automatically installs a certificate authority (CA) on your machine so your browser trusts the intercepted connections.
What is domain fronting used for here?Domain fronting disguises the real destination of traffic by routing it through a trusted Google domain (Apps Script), making it harder for censors to block or detect based on the destination hostname.
Does it also bypass YouTube restrictions?Yes, the README states YouTube safe search and live streaming are bypassed and working by default, without needing a separate relay or exit node for that.
Size
0.4 MB
Stars
3.9K
Updated
CommitJun 09
Age
5mo
Commits · 90 Days