Skip to content
Projects

About

IP Rotation from different providers - Like FireProx but for GCP, Azure, Alibaba and CloudFlare

Systems & Infrastructure

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

OmniProx

OmniProx is a multi-cloud HTTP proxy manager. It deploys throwaway proxies on cloud provider free tiers and gives you one CLI to create, list and tear them down, with IP or header rotation depending on what the provider allows.

[!IMPORTANT] Tested on Linux and macOS. Windows users should use WSL with Ubuntu 22.04 or later. Native Windows installs hit encoding issues, particularly in the Azure provider. See docs/INSTALL.md.

Modules

Module --provider Rotation Free tier Setup
Cloudflare Workers cloudflare, cf Headers only, rotates per request 100,000 req/day, permanent guide
Azure Container Instances azure, az True, one public IP per container $200 credit, 30 days guide
GCP API Gateway gcp Headers, plus multiple regions $300 credit, 90 days guide
Alibaba API Gateway alibaba Headers, plus multiple regions None guide

Cloudflare is the default provider, so --provider is optional when that is what you want. Azure is the only module that gives the target a genuinely different source IP.

Quick start

pipx install git+https://github.com/ZephrFish/OmniProx.git

Then authenticate one module. For Cloudflare that is Cloudflare's own CLI, which OmniProx reads at runtime so no token is stored anywhere:

npm install -g cf
cf auth login

Other modules, and the API token route for Cloudflare, are in docs/PROVIDERS.md. Other install options are in docs/INSTALL.md.

Usage

omni create https://api.example.com                      # one Cloudflare worker
omni create https://api.example.com --number 10          # ten, for header rotation
omni create https://api.example.com -p azure -n 5        # five containers, five IPs
omni list                                                # list this provider's proxies
omni list --all                                          # every configured provider
omni delete api-1792955597-gzpfkx                        # delete one
omni cleanup --all                                       # delete everything
omni proxytest                                           # check rotation end to end

omni is the short form. omniprox takes the same work as explicit flags (omniprox --command create --url ... --provider cf) and omniprox --help lists them all.

Requests go through a created proxy in any of three ways:

curl 'https://<worker>.workers.dev?url=https://api.example.com'
curl -H 'X-Target-URL: https://api.example.com' https://<worker>.workers.dev
curl https://<worker>.workers.dev/https://api.example.com

Clean up when you are done. Azure containers bill by the second.

Configuration

Credentials are read in this order, so nothing has to be written to disk:

  1. Environment variables, for example CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID
  2. ~/.omniprox/profiles.ini, written by omniprox --setup
  3. The provider's own CLI login (cf for Cloudflare, az for Azure, gcloud for GCP)

--profile <name> selects a profile for multiple accounts of the same provider.

Documentation

Document Contents
docs/INSTALL.md pipx, clone, virtualenv, updating, WSL, troubleshooting
docs/PROVIDERS.md Per-module setup, credentials, costs, what the target sees
docs/OPERATIONS.md Rotation strategies, testing rotation, OPSEC, cost control
docs/PROXY_FEATURES.md Proxy behaviour and header handling in detail
docs/PROVIDER_FEATURE_COMPARISON.md Feature matrix across modules
docs/DEVELOPMENT.md Adding a provider module

Example output

Creating proxiesListing proxiesRotation test

Licence

GPL-3.0, see LICENSE.

Rotation features are for work you are authorised to do: scraping with permission, API testing, geographic testing. Not for malicious use.

Explore related projects

Loading…