Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

rotating-proxy

> DevOps
Open source

Rotating TOR proxy with Docker

1.2K stars0 likes3 views
WebsiteGitHub

About

Rotating TOR proxy with Docker

docker-rotating-proxy

               Docker Container
               -------------------------------------
                         Polipo 1  Tor Proxy 1
Client   HAproxy   Polipo 2  Tor Proxy 2
                         Polipo n  Tor Proxy n

Why: Lots of IP addresses. One single endpoint for your client. Load-balancing by HAproxy.

Usage

bash
# build docker container
docker build -t mattes/rotating-proxy:latest .

# ... or pull docker container
docker pull mattes/rotating-proxy:latest

# start docker container
docker run -d -p 5566:5566 -p 4444:4444 --env tors=25 mattes/rotating-proxy

# test with ...
curl --proxy 127.0.0.1:5566 https://api.my-ip.io/ip

# monitor
http://127.0.0.1:4444/haproxy?stats

Further Readings

  • Tor Manual
  • Tor Control
  • HAProxy Manual
  • Polipo

Please note: Tor offers a SOCKS Proxy only. In order to allow communication from HAproxy to Tor, Polipo is used to translate from HTTP proxy to SOCKS proxy. HAproxy is able to talk to HTTP proxies only.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rubydockerhaproxyhttp-proxypolipo

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理