4.3 KiB
Getting Started
This guide keeps only the setup path most users need. Follow it once, then come back to the root README only when you need another topic.
What You Need
- Python 3.10 or newer
- A free Google account
- Git, or the ZIP download from GitHub
- A browser where you can set an HTTP proxy
1. Get The Project
Choose whichever option works on your network.
Option A: ZIP
Option B: Git
git clone https://github.com/masterking32/MasterHttpRelayVPN.git
cd MasterHttpRelayVPN
2. Deploy The Google Relay
The relay is the small Apps Script program that fetches websites for you.
-
Open Google Apps Script and sign in.
-
Click New project.
-
Delete the default editor content.
-
Open apps_script/Code.gs, copy everything, and paste it into Apps Script.
-
Change this line to a long secret:
const AUTH_KEY = "your-secret-password-here"; -
Click Deploy -> New deployment.
-
Select Web app.
-
Set Execute as to Me.
-
Set Who has access to Anyone.
-
Click Deploy, authorize the app, and copy the Deployment ID.
Keep the AUTH_KEY and Deployment ID nearby. You need both locally.
3. Run The One-Click Launcher
Windows
start.bat
Linux / macOS
chmod +x start.sh
./start.sh
The launcher creates .venv, installs dependencies, runs setup.py if config.json is missing, and starts the proxy.
If dependency installation fails through PyPI, the launcher retries through the runflare mirror automatically.
4. Answer The Setup Wizard
When the wizard opens:
- Enter the same
auth_keyyou placed inside apps_script/Code.gs. - Paste the Apps Script Deployment ID.
- Keep the default HTTP proxy port
8085unless you already use that port. - Keep LAN sharing off unless other devices must use this proxy.
The wizard writes config.json for you.
5. Configure Your Browser
Use the HTTP proxy for normal browsing:
| Field | Value |
|---|---|
| Proxy type | HTTP |
| Address | 127.0.0.1 |
| Port | 8085 |
Firefox path: Settings -> General -> Network Settings -> Manual proxy. Enter 127.0.0.1 and 8085, then enable the option to also use it for HTTPS.
Chrome and Edge use the system proxy on Windows. You can also use extensions such as FoxyProxy or SwitchyOmega for easier switching.
6. Install The CA Certificate
HTTPS browsing needs the local CA certificate generated by the proxy. The file is created at ca/ca.crt after first run.
The app tries to install it automatically. If it cannot, install it manually:
Windows
- Double-click
ca/ca.crt. - Choose Install Certificate.
- Choose Current User.
- Choose Place all certificates in the following store.
- Select Trusted Root Certification Authorities.
- Finish, then fully restart your browser.
macOS
- Open
ca/ca.crtin Keychain Access. - Find the certificate and open it.
- Expand Trust.
- Set When using this certificate to Always Trust.
- Close the dialog, enter your password, and restart your browser.
Linux Ubuntu / Debian
sudo cp ca/ca.crt /usr/local/share/ca-certificates/masterhttp-relay.crt
sudo update-ca-certificates
Restart your browser after installing.
Firefox
Firefox may use a separate certificate store:
- Open Settings -> Privacy & Security -> Certificates -> View Certificates.
- Go to Authorities.
- Click Import and select
ca/ca.crt. - Enable Trust this CA to identify websites.
Manual Run Commands
Use these only if you are not using the launcher:
python -m venv .venv
.venv\Scripts\python -m pip install -r requirements.txt
.venv\Scripts\python setup.py
.venv\Scripts\python main.py
On Linux / macOS, replace .venv\Scripts\python with .venv/bin/python.
Done
When everything is working, the terminal shows the HTTP proxy on 127.0.0.1:8085 and SOCKS5 on 127.0.0.1:1080.
Next useful pages: