mirror of
https://github.com/masterking32/MasterHttpRelayVPN.git
synced 2026-05-17 21:24:37 +03:00
Deno removed from docs
This commit is contained in:
@@ -33,7 +33,7 @@ Click the links below for guides on common topics.
|
|||||||
|
|
||||||
[Exit Node](docs/exit-node/EXIT_NODE_DEPLOYMENT.md) : Connect to Cloudflare Workers or a VPS for destinations to fix ChatGPT, Turnstile, and similar sites blocking Google IPs.
|
[Exit Node](docs/exit-node/EXIT_NODE_DEPLOYMENT.md) : Connect to Cloudflare Workers or a VPS for destinations to fix ChatGPT, Turnstile, and similar sites blocking Google IPs.
|
||||||
|
|
||||||
[LAN Sharing](docs/LAN_SHARING.md) : Share the proxy with other devices on your local network.
|
[LAN Sharing](docs/LAN_SHARING.md) : Share the proxy with other devices on your local network. (Android, iOS, other computers)
|
||||||
|
|
||||||
[Configuration](docs/CONFIGURATION.md) : Reference for all config options, plus diagnostic commands.
|
[Configuration](docs/CONFIGURATION.md) : Reference for all config options, plus diagnostic commands.
|
||||||
|
|
||||||
|
|||||||
@@ -55,4 +55,4 @@ The network sees a Google-facing connection. The relay request carries the real
|
|||||||
Browser -> Local proxy -> Apps Script -> Exit node -> Target website
|
Browser -> Local proxy -> Apps Script -> Exit node -> Target website
|
||||||
```
|
```
|
||||||
|
|
||||||
Exit nodes can run on Cloudflare Workers, Deno Deploy, or a VPS. See [Exit Node Guide](exit-node/EXIT_NODE_DEPLOYMENT.md).
|
Exit nodes can run on Cloudflare Workers or your own VPS. See [Exit Node Guide](exit-node/EXIT_NODE_DEPLOYMENT.md).
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ Use an exit node when a destination blocks Google datacenter egress.
|
|||||||
| Setting | Meaning |
|
| Setting | Meaning |
|
||||||
|---------|---------|
|
|---------|---------|
|
||||||
| `exit_node.enabled` | Turns exit-node routing on or off. |
|
| `exit_node.enabled` | Turns exit-node routing on or off. |
|
||||||
| `exit_node.provider` | `cloudflare`, `deno`, `vps`, or `custom`. |
|
| `exit_node.provider` | `cloudflare`, `vps`, or `custom`. |
|
||||||
| `exit_node.url` | URL for the selected provider. |
|
| `exit_node.url` | URL for the selected provider. |
|
||||||
| `exit_node.psk` | Shared secret for the exit node. Must match the deployed exit-node code. |
|
| `exit_node.psk` | Shared secret for the exit node. Must match the deployed exit-node code. |
|
||||||
| `exit_node.mode` | `full` for all relayed traffic, `selective` for only listed hosts. |
|
| `exit_node.mode` | `full` for all relayed traffic, `selective` for only listed hosts. |
|
||||||
|
|||||||
@@ -79,8 +79,7 @@ Fix:
|
|||||||
1. Update this project and install dependencies again with `pip install -r requirements.txt`.
|
1. Update this project and install dependencies again with `pip install -r requirements.txt`.
|
||||||
2. Redeploy [apps_script/Code.gs](../apps_script/Code.gs) as a new Apps Script deployment.
|
2. Redeploy [apps_script/Code.gs](../apps_script/Code.gs) as a new Apps Script deployment.
|
||||||
3. Copy the new Deployment ID into `config.json` if it changed.
|
3. Copy the new Deployment ID into `config.json` if it changed.
|
||||||
4. If you use a Deno exit node, redeploy [apps_script/deno_deploy.ts](../apps_script/deno_deploy.ts).
|
4. Restart the proxy and fully reopen the browser.
|
||||||
5. Restart the proxy and fully reopen the browser.
|
|
||||||
|
|
||||||
## Connection Timeout
|
## Connection Timeout
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Exit Node Deployment Guide (Cloudflare / Deno / VPS)
|
# Exit Node Deployment Guide (Cloudflare / VPS)
|
||||||
|
|
||||||
This guide explains how to deploy an exit node for MasterHttpRelayVPN on free platforms or your own VPS server.
|
This guide explains how to deploy an exit node for MasterHttpRelayVPN on free platforms or your own VPS server.
|
||||||
|
|
||||||
@@ -11,7 +11,6 @@ Use this when destinations block Google datacenter egress.
|
|||||||
## 1) Choose One Provider
|
## 1) Choose One Provider
|
||||||
|
|
||||||
- Cloudflare Workers (free tier available)
|
- Cloudflare Workers (free tier available)
|
||||||
- Deno Deploy (free, not fully tested)
|
|
||||||
- **Your Own VPS** (full control, Linux server — automated installer included)
|
- **Your Own VPS** (full control, Linux server — automated installer included)
|
||||||
|
|
||||||
You only need one provider.
|
You only need one provider.
|
||||||
@@ -41,19 +40,7 @@ Steps:
|
|||||||
6. Deploy.
|
6. Deploy.
|
||||||
7. Copy URL, usually like https://YOUR-WORKER.YOUR-SUBDOMAIN.workers.dev
|
7. Copy URL, usually like https://YOUR-WORKER.YOUR-SUBDOMAIN.workers.dev
|
||||||
|
|
||||||
## 4) Deploy On Deno Deploy (It's not tested Yet)
|
## 4) Deploy On Your Own VPS (Linux only)
|
||||||
|
|
||||||
Source file: apps_script/deno_deploy.ts
|
|
||||||
|
|
||||||
Steps:
|
|
||||||
1. Sign in at https://dash.deno.com
|
|
||||||
2. Select new playground.
|
|
||||||
3. Paste apps_script/deno_deploy.ts.
|
|
||||||
4. Set PSK constant in code.
|
|
||||||
5. Deploy.
|
|
||||||
6. Copy URL, usually like https://YOUR-PROJECT.deno.net
|
|
||||||
|
|
||||||
## 5) Deploy On Your Own VPS (Linux only)
|
|
||||||
|
|
||||||
Source files:
|
Source files:
|
||||||
- `apps_script/vps_exit_node.py` — the relay server
|
- `apps_script/vps_exit_node.py` — the relay server
|
||||||
@@ -81,11 +68,11 @@ The script automatically downloads `vps_exit_node.py` from GitHub, so no `git cl
|
|||||||
Note:
|
Note:
|
||||||
- To rotate the PSK, edit `/etc/exit-node.env` and restart: `systemctl restart exit-node`.
|
- To rotate the PSK, edit `/etc/exit-node.env` and restart: `systemctl restart exit-node`.
|
||||||
|
|
||||||
## 6) Configure MasterHttpRelayVPN
|
## 5) Configure MasterHttpRelayVPN
|
||||||
|
|
||||||
Update `config.json`:
|
Update `config.json`:
|
||||||
|
|
||||||
For Cloudflare / Deno:
|
For Cloudflare:
|
||||||
```json
|
```json
|
||||||
"exit_node": {
|
"exit_node": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
@@ -121,7 +108,6 @@ For your own VPS:
|
|||||||
|
|
||||||
Provider values:
|
Provider values:
|
||||||
- `cloudflare`
|
- `cloudflare`
|
||||||
- `deno`
|
|
||||||
- `vps`
|
- `vps`
|
||||||
|
|
||||||
If `mode` is `selective`, only hosts listed in `hosts` use the exit node.
|
If `mode` is `selective`, only hosts listed in `hosts` use the exit node.
|
||||||
|
|||||||
Reference in New Issue
Block a user