### Install and Configure Cloudflare Worker Proxy Source: https://github.com/lvmalware/cf-proxy/blob/master/README.md Steps to install bun, wrangler, deploy the Cloudflare worker, and configure the authorization token. ```bash curl -fsSL https://bun.sh/install | bash . ~/.bashrc bun i -g wrangler wrangler login cd worker/ bun i ``` -------------------------------- ### Run cf-proxy Client (HTTP) Source: https://github.com/lvmalware/cf-proxy/blob/master/README.md Example command to run the proxy client script for an HTTP proxy, specifying authentication, port, and worker address. ```bash bun proxy.js -a secret -p 8080 http myinstance.workers.dev ``` -------------------------------- ### cf-proxy Client Usage Source: https://github.com/lvmalware/cf-proxy/blob/master/README.md Help output for the proxy.js client script, showing available options and usage examples. ```bash proxy.js - Proxy requests through CloudFlare workers Usage: bun proxy.js [options] Options: -h, --help Show this help message and exit -p, --port Port to listen on -a, --auth Authorization header -v, --verbose Enable verbose mode (default: false) Example: bun proxy.js -v -a auth-secret socks my-instance.workers.dev ``` -------------------------------- ### Run cf-proxy Client (SOCKS) Source: https://github.com/lvmalware/cf-proxy/blob/master/README.md Example command to run the proxy client script for a SOCKS5 proxy, specifying authentication, port, and worker address. ```bash cd .. bun proxy.js -a secret -p 1080 socks myinstance.workers.dev ``` -------------------------------- ### Deploy Cloudflare Worker Source: https://github.com/lvmalware/cf-proxy/blob/master/README.md Command to deploy the Cloudflare worker from the 'worker/' directory. ```bash cd worker/ wrangler deploy ``` -------------------------------- ### Verify Proxy with curl Source: https://github.com/lvmalware/cf-proxy/blob/master/README.md Command to test the HTTP proxy by making a request to an IP information service. ```bash curl -x localhost:8080 https://myip.wtf/json ``` -------------------------------- ### Set Authorization Token in Worker Source: https://github.com/lvmalware/cf-proxy/blob/master/README.md Modify the src/index.js file to set a custom authorization token for the Cloudflare worker. ```javascript const TOKEN = '' ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.