HarryR / torgw

Dockerized load balanced Tor SOCKS proxy gateway

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple rotating Tor proxy

Goal : Use lots of different Tor proxies for multi-threaded requests and concurrency...

How it works : runit manages many instances of Tor. HAproxy is used to distribute requests in a round-robin fashion.

                        <-> Tor proxy 1
Client <---->  HAproxy  <-> Tor proxy 2
                        <-> Tor proxy n

Why is this one different? : Lightweight (16mb) Alpine docker image, doesn't use Ruby, low memory requirements, uses runit for process management. Doesn't provide a HTTP proxy.

Usage :

A Makefile is provided to manage the Docker container's lifecycle. Be wary, make clean will not be friendly to other Docker containers running on the same machine, it will aggressively purges unused containers and images.

make
make run
make stop

Credits :

Other implementations :

Early inspiration :

About

Dockerized load balanced Tor SOCKS proxy gateway


Languages

Language:Shell 54.2%Language:Makefile 45.8%