Tor proxy roundrobin with dante-server and haproxy
811
Tor proxy roundrobin with dante-server and haproxy
<===> Tor Proxy 1
dante-server <===> haproxy <===> Tor Proxy 2
<===> Tor Proxy N
INSTANCES - Amount of Tor proxy instances to run. Default 5PORT - dante port to listen to. Default 9050INTERFACE - dante interface to listen. Default eth0PROXY_USER - Proxy username. Default robinPASSWORD - Proxy password. Empty by default (anonymous access is allowed)TOR_LOG_LEVEL - Log level for tor servers. Default warnHAPROXY_TIMEOUT_CONNECT - Haproxy timeout connect option. Default 2000msHAPROXY_TIMEOUT_CLIENT - Haproxy timeout client option. Default 5000msHAPROXY_TIMEOUT_SERVER - Haproxy timeout server option. Default 5000msAll tor instances and dante-server will log to /logs directory in container.
docker run -d \
--rm \
--net=host \
--name=tor-haproxy \
-v "$(pwd)"/logs:/logs \
-e INSTANCES=5 \
-e PORT=9050 \
-e INTERFACE=eth0 \
-e PROXY_USER=robin \
-e PASSWORD=StrongPassword \
-e TOR_LOG_LEVEL=warn \
-e HAPROXY_TIMEOUT_CONNECT=2000ms \
-e HAPROXY_TIMEOUT_CLIENT=5000ms \
-e HAPROXY_TIMEOUT_SERVER=5000ms \
m0thman/tor_haproxy:latest
Content type
Image
Digest
Size
47.8 MB
Last updated
almost 6 years ago
docker pull m0thman/tor_haproxy