{ "_comment": "Example config for using mhrv-rs with a val.town exit node to bypass Cloudflare anti-bot blocks on chatgpt.com / claude.ai / grok.com / x.com. See assets/exit_node/README.md for the val.town deployment walkthrough.", "mode": "apps_script", "google_ip": "216.239.38.120", "front_domain": "www.google.com", "auth_key": "PUT_YOUR_APPS_SCRIPT_AUTH_KEY_HERE", "script_id": [ "PUT_YOUR_APPS_SCRIPT_DEPLOYMENT_ID_HERE" ], "listen_host": "0.0.0.0", "listen_port": 8085, "socks5_port": 8086, "log_level": "info", "verify_ssl": true, "exit_node": { "_comment": "Master switch. Set false to disable exit-node entirely without removing the config. Default false.", "enabled": true, "_comment_relay_url": "Public URL of your val.town deployment (or Deno Deploy, fly.io, etc. running assets/exit_node/valtown.ts).", "relay_url": "https://your-handle-mhrv.web.val.run", "_comment_psk": "Pre-shared key — must match the PSK constant in your val.town source. Generate with: openssl rand -hex 32", "psk": "PUT_YOUR_VAL_TOWN_PSK_HERE", "_comment_mode": "selective: only `hosts` route via exit node (recommended). full: every request routes via exit node (slower, ~250-500ms extra hop).", "mode": "selective", "_comment_hosts": "Hostnames to route through the exit node. Matches exact OR dot-anchored suffix (chatgpt.com covers api.chatgpt.com etc.). The default community list — extend for any other CF-anti-bot blocked sites you need.", "hosts": [ "chatgpt.com", "claude.ai", "x.com", "grok.com", "openai.com" ] } }