masterhttprelayvpn-rust
Rust CLI + desktop UI for DPI bypass via Google Apps Script relay with TLS SNI concealment, supporting HTTP and SOCKS5 proxies
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o masterhttprelayvpn-rust.zip https://jpskill.com/download/23009.zip && unzip -o masterhttprelayvpn-rust.zip && rm masterhttprelayvpn-rust.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/23009.zip -OutFile "$d\masterhttprelayvpn-rust.zip"; Expand-Archive "$d\masterhttprelayvpn-rust.zip" -DestinationPath $d -Force; ri "$d\masterhttprelayvpn-rust.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
masterhttprelayvpn-rust.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
masterhttprelayvpn-rustフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Claude が読む原文 SKILL.md(中身を展開)
この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。
MasterHttpRelayVPN-RUST
Skill by ara.so — Daily 2026 Skills collection.
A Rust port of MasterHttpRelayVPN that routes traffic through a Google Apps Script relay, hiding the real destination from DPI/censorship systems. The ISP sees TLS SNI www.google.com; the actual request is proxied inside the encrypted tunnel through your own Google Apps Script deployment.
How it works
Browser → HTTP(8085)/SOCKS5(8086) → mhrv-rs → TLS to Google IP (SNI: www.google.com)
→ Google edge → Apps Script relay → real destination
Install
Prebuilt binaries (recommended)
Download from releases page:
- Linux:
mhrv-rs-linux-x86_64.tar.gz - macOS:
mhrv-rs-macos-aarch64.tar.gzormhrv-rs-macos-x86_64.tar.gz - Windows:
mhrv-rs-windows-x86_64.zip - Android:
mhrv-rs-android-universal-v*.apk
Build from source
# CLI only
cargo build --release
# CLI + desktop UI (egui)
cargo build --release --features ui
# Binaries output to:
# target/release/mhrv-rs (CLI)
# target/release/mhrv-rs-ui (Desktop UI)
First Run: Install MITM CA
Required for HTTPS interception. Run once with elevated privileges:
# macOS / Linux
sudo ./mhrv-rs --install-cert
# Windows (run as Administrator)
mhrv-rs.exe --install-cert
# Or use platform launchers (also starts the UI):
./run.command # macOS
./run.sh # Linux
run.bat # Windows
The CA keypair is generated locally (ca/ca.crt + ca/ca.key) and never leaves your machine.
Configuration
Config file locations
- macOS:
~/Library/Application Support/mhrv-rs/config.json - Linux:
~/.config/mhrv-rs/config.json - Windows:
%APPDATA%\mhrv-rs\config.json - Fallback:
./config.json(current directory)
Minimal config.json
{
"mode": "apps_script",
"script_id": "AKfycby...",
"auth_key": "$AUTH_KEY_FROM_CODE_GS",
"google_ip": "216.239.38.120",
"front_domain": "www.google.com",
"http_port": 8085,
"socks5_port": 8086
}
Full config.json with all options
{
"mode": "apps_script",
"script_id": "AKfycby...,AKfycbz...",
"auth_key": "$YOUR_AUTH_KEY",
"google_ip": "216.239.38.120",
"front_domain": "www.google.com",
"http_port": 8085,
"socks5_port": 8086,
"hosts": {
"example.com": "direct"
},
"upstream_socks5": null
}
Key fields:
mode:"apps_script"(default) or"google_only"(no relay, Google domains only)script_id: Deployment ID from Google Apps Script. Comma-separate multiple for round-robin rotationauth_key: Secret matchingAUTH_KEYin yourCode.gsgoogle_ip: Google edge IP —216.239.38.120is a reliable defaultfront_domain: Keep aswww.google.comhosts: Per-domain overrides —"direct"bypasses the relay entirelyupstream_socks5: Forward through an external SOCKS5 (e.g."127.0.0.1:1080")
Google-only mode (no Apps Script needed)
{
"mode": "google_only",
"google_ip": "216.239.38.120",
"front_domain": "www.google.com",
"http_port": 8085,
"socks5_port": 8086
}
Use this to bootstrap — access script.google.com to deploy Code.gs when Google is blocked.
CLI Commands
# Start proxy server (reads config.json)
mhrv-rs serve
# Start with explicit config file
mhrv-rs serve --config /path/to/config.json
# Test end-to-end relay connectivity
mhrv-rs test
# Test SNI fronting only (no config required beyond google_ip + front_domain)
mhrv-rs test-sni
# Scan for fastest Google IP from your network
mhrv-rs scan-ips
# Install MITM CA to system trust store
mhrv-rs --install-cert
# Show version
mhrv-rs --version
# Show help
mhrv-rs --help
Deploy the Google Apps Script Relay
- Go to https://script.google.com → New project
- Replace default code with contents of
Code.gs - Set your auth key:
const AUTH_KEY = "your-strong-secret-here"; - Deploy → New deployment → Web app
- Execute as: Me
- Who has access: Anyone
- Copy the Deployment ID (looks like
AKfycby...) - Paste it into
config.jsonasscript_id
Common Patterns
Proxy browser traffic (HTTP proxy)
Set browser proxy to 127.0.0.1:8085 (HTTP). Most browsers: Settings → Network → Manual proxy.
# Test with curl through the HTTP proxy
curl -x http://127.0.0.1:8085 https://example.com
Proxy via SOCKS5
# curl via SOCKS5
curl --socks5 127.0.0.1:8086 https://example.com
# Use with any SOCKS5-aware application
export ALL_PROXY=socks5://127.0.0.1:8086
Multiple script IDs for higher quota
{
"script_id": "AKfycby_first...,AKfycby_second...,AKfycby_third..."
}
Each Google Apps Script deployment has its own quota. Round-robin rotation spreads load.
Per-domain direct routing
{
"hosts": {
"internal.company.com": "direct",
"192.168.1.0/24": "direct"
}
}
Use with xray/v2ray as upstream
{
"upstream_socks5": "127.0.0.1:10808"
}
Headless server deployment
# Run CLI in background
nohup mhrv-rs serve > mhrv-rs.log 2>&1 &
# Or with systemd
cat > /etc/systemd/system/mhrv-rs.service << 'EOF'
[Unit]
Description=MasterHttpRelayVPN-RUST
After=network.target
[Service]
ExecStart=/usr/local/bin/mhrv-rs serve
Restart=on-failure
User=nobody
WorkingDirectory=/etc/mhrv-rs
[Install]
WantedBy=multi-user.target
EOF
systemctl enable --now mhrv-rs
Desktop UI
# Launch UI directly
./mhrv-rs-ui # Linux/macOS
mhrv-rs-ui.exe # Windows
UI features:
- Config form with all settings
- Start / Stop proxy server
- Test button — sends one request through the relay end-to-end
- Scan button — finds fastest Google IP for your network
- Live traffic stats
- Log panel
Android
- Install
mhrv-rs-android-universal-v*.apk - Follow docs/android.md
- The app uses TUN via
tun2proxyto capture all device IP traffic
Android HTTPS caveat: From Android 7+, apps must opt in to trust user CAs. Chrome and Firefox work; Telegram, WhatsApp, Instagram, etc. do not. For those apps:
- Use SOCKS5 mode: point in-app proxy to
127.0.0.1:1081 - Use
google_onlymode for Google services (no CA needed) - Set
upstream_socks5to an external VPS
Troubleshooting
"Connection refused" on proxy port
# Check if mhrv-rs is running
ps aux | grep mhrv-rs
# Check ports are listening
ss -tlnp | grep -E '8085|8086' # Linux
netstat -an | grep -E '8085|8086' # macOS/Windows
# Try a different port if 8085 is taken
# Set http_port: 8181 in config.json
HTTPS sites show certificate error
# CA not installed — run:
sudo mhrv-rs --install-cert
# Firefox: manually import ca/ca.crt
# Settings → Privacy & Security → Certificates → View Certificates → Authorities → Import
Apps Script relay errors / quota exceeded
- Add more
script_identries (comma-separated) for rotation - Check your Apps Script execution log at https://script.google.com
- Verify
AUTH_KEYinCode.gsmatchesauth_keyinconfig.json
Find a working Google IP
mhrv-rs scan-ips
Update google_ip in config with the fastest result.
Can't reach script.google.com to deploy Code.gs
Use google_only mode temporarily:
cp config.google-only.example.json config.json
mhrv-rs serve
# Set browser proxy to 127.0.0.1:8085
# Now open script.google.com in browser and deploy Code.gs
Test SNI fronting without full config
mhrv-rs test-sni
Verify relay is working end-to-end
mhrv-rs test
# Or via curl:
curl -v -x http://127.0.0.1:8085 https://httpbin.org/ip
File Structure
mhrv-rs/ # binary
mhrv-rs-ui/ # desktop UI binary
config.json # your config
ca/
ca.crt # MITM root cert (public, installed to system)
ca.key # MITM root key (private, stays local)
assets/
apps_script/
Code.gs # Apps Script relay source to deploy to Google