Skip to content
/ torgw Public

Dockerized load balanced Tor SOCKS proxy gateway

Notifications You must be signed in to change notification settings

HarryR/torgw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :