Docker Container
-------------------------------------
<-> Tor Proxy 1
Client <----> HAproxy <-> Tor Proxy 2
<-> Tor Proxy n
Why: Lots of IP addresses. One single endpoint for your client. Load-balancing by HAproxy.
# build docker container
docker build -t negash/docker-haproxy-tor:latest .
# ... or pull docker container
docker pull negash/docker-haproxy-tor:latest
# start docker container
docker run -d -p 5566:5566 -p 2090:2090 -e tors=25 negash/docker-haproxy-tor
# test with ...
curl --socks5 192.168.99.100:5566 http://echoip.com
# monitor
# auth login:admin
# auth pass:admin
http://192.168.99.100:2090
# start docket container with new auth
docker run -d -p 5566:5566 -p 2090:2090 -e login=MySecureLogin -e pass=MySecurePassword negash/docker-haproxy-tor