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.
# start docker container
docker run -d -p 5566:5566 -p 4444:4444 -e TOR_PROXY_INSTANCES=25 michael34435/rotating-proxy
# monitor
http://127.0.0.1:4444/haproxy?stats
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.