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…

这是什么?MasterHttpRelayVPN 是一个本地代理,利用域名前置和 MITM TLS 拦截,把你的浏览器流量经由 Google Apps Script 中继转发,用于规避 DPI 深度包检测和网络审查。
这是独立应用,还是作为后台进程运行的东西?它是运行在你机器上的本地 Python 代理服务器,提供一个 HTTP 代理和一个 SOCKS5 端口,把浏览器或应用指向它们即可。
怎么把它跑起来?部署附带的 Google Apps Script 中继(把 appsscript/Code.gs 复制到新的 Apps Script 项目,设置 AUTHKEY,并作为 Web 应用部署),然后下载本仓库,运行 Windows 或 Linux/macOS 的一键启动器,它会建立虚拟环境并启动代理。
使用它需要 Google 账号或服务器吗?你只需要一个免费 Google 账号来部署 Apps Script 中继;基础配置不需要 VPS,不过对于封锁 Google IP 的网站,可以选配 Cloudflare Workers 或 VPS 出口节点。
它对所有网站都有效吗,比如 ChatGPT?ChatGPT 或使用 Turnstile 的一些网站可能会封锁 Google 出口 IP,需要配置可选的出口节点(Cloudflare Workers 或 VPS)才能正常访问。
可以把代理共享给手机或局域网里的其他设备吗?可以,有一份局域网共享指南,教你连接局域网内的其他设备(包括 Android 和 iOS),还有用于容器化部署的 Docker 说明。
把我的配置分享给别人安全吗?不安全——README 明确警告,绝不要把你的 config.json、authkey、CA 证书文件夹或出口节点 URL 连同有效的 PSK 一起分享出去,否则你的代理会被人滥用。
为什么需要安装 CA 证书?它通过 MITM TLS 拦截来检查并转发 HTTPS 流量,所以启动后会自动在你的机器上安装一个证书颁发机构(CA),让浏览器信任被拦截的连接。
这里域名前置是用来干什么的?域名前置把流量经由受信任的 Google 域名(Apps Script)转发,以此掩盖流量的真实目的地,让审查者更难根据目标主机名进行封锁或检测。
它也能绕过 YouTube 的限制吗?可以,README 声明 YouTube 安全搜索和直播的限制默认就能绕过并正常工作,不需要为此单独配置中继或出口节点。
Size
0.4 MB
Stars
3.9K
Updated
CommitJun 09
Age
5mo
Commits · 90 Days