Skip to content
reason-machines avatar

Mhr Cfw Domain Fronting Relay

Python-based domain-fronting relay that routes HTTP and SOCKS5 traffic through Google Apps Script and Cloudflare Workers.

CCM score
46 of 100
skills.sh installs
160
GitHub stars
99
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers end-to-end setup: deploying script/worker.js to Cloudflare, deploying script/Code.gs to Google Apps Script, and editing config.json
  • Includes a configuration reference for fields such as script_id, auth_key, listen_port, socks5_port, and verify_ssl, plus minimal and debug presets
  • Shows client usage through FoxyProxy, curl, and Python requests, with a verification step against ipleak.net
  • Designed for users who need to route traffic past DPI filtering and can deploy both a Worker and an Apps Script web app

Install

$ npx -y skills add reason-machines/trending-skills --skill mhr-cfw-domain-fronting-relay -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

MHR-CFW Domain-Fronting Relay

Skill by ara.so — Daily 2026 Skills collection.

MHR-CFW (MasterHttpRelay + Cloudflare Worker) is a Python-based domain-fronting relay that routes HTTP/SOCKS5 proxy traffic through Google Apps Script (GAS) and Cloudflare Workers. Network DPI filters see only traffic to www.google.com, while the actual destination is hidden inside the relay chain.

Traffic Flow

Client → Local Proxy (127.0.0.1:8085)
           ↓
       Google IP (216.239.38.120) — DPI sees www.google.com
           ↓
       Google Apps Script Web App (Relay)
           ↓
       Cloudflare Worker
           ↓
       Target Website

Installation

git clone https://github.com/denuitt1/mhr-cfw.git
cd mhr-cfw
pip install -r requirements.txt

If PyPI is blocked:

pip install -r requirements.txt \
  -i https://mirror-pypi.runflare.com/simple/ \
  --trusted-host mirror-pypi.runflare.com

Full Setup Guide

Step 1: Deploy the Cloudflare Worker

Details

Repository
github.com/reason-machines/trending-skills
Category
Backend & APIs
First seen
Jun 3, 2026

Questions

What does the mhr-cfw-domain-fronting-relay skill do?

It sets up and runs MHR-CFW, a Python domain-fronting relay that routes HTTP and SOCKS5 proxy traffic through Google Apps Script and Cloudflare Workers. Network filters see only traffic to a Google host while the real destination stays hidden inside the relay chain.

How do I install the mhr-cfw-domain-fronting-relay skill?

Run npx -y skills add reason-machines/trending-skills --skill mhr-cfw-domain-fronting-relay -y in a project. The skill then guides the agent through deploying the Cloudflare Worker, the Google Apps Script relay and the local proxy configuration.

What do I need before using this skill?

You need a Cloudflare account to deploy the worker and a Google account to create the Apps Script relay. You also need Python with the requirements installed, and a shared auth key you choose yourself.

More from reason-machines/trending-skills

All 251

Similar to Mhr Cfw Domain Fronting Relay

More Backend & APIs