A SOCKS, HTTP and DNS proxy for distributing traffic across multiple instances of Tor
Go to file
2015-07-06 14:34:57 -04:00
dind Merge commit 'ce7b24a56bd17d269c51b49bb21c8fe8db390307' as 'dind' 2015-07-06 10:21:12 -04:00
.dockerignore Adds readme. fully working 2015-07-06 14:26:31 -04:00
.drone.yml inital 2015-07-06 10:21:55 -04:00
.gitignore inital 2015-07-06 10:24:44 -04:00
Dockerfile removes docker from dockerfile 2015-07-06 14:32:02 -04:00
haproxy-config.php Adds readme. fully working 2015-07-06 14:26:31 -04:00
install.sh renames file for backward compat 2015-07-06 14:34:57 -04:00
install_docker.sh inital 2015-07-06 10:22:45 -04:00
Makefile removes docker from dockerfile 2015-07-06 14:32:02 -04:00
new_ip.sh inital 2015-07-06 10:21:09 -04:00
package.json inital 2015-07-06 10:21:55 -04:00
README.md removes docker from dockerfile 2015-07-06 14:32:02 -04:00
shutdown.sh Adds readme. fully working 2015-07-06 14:26:31 -04:00
startup.sh Adds readme. fully working 2015-07-06 14:26:31 -04:00
tor-router.sh Adds readme. fully working 2015-07-06 14:26:31 -04:00

Creates multiple instances of Tor and switches between them in a round-robin fashion.

Based on Docker, HAProxy and of course Tor

Run using TOR_INSTANCES=5 TOR_PORT=9050 docker run --rm -it -e TOR_INSTANCES=$TOR_INSTANCES -e TOR_PORT=$TOR_PORT --name tor-router --privileged -v /tmp:/tmp -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker:/var/lib/docker -v /usr/bin/docker:/usr/bin/docker:ro znetstar/tor-router:0.0.1

Use the enviornment variable TOR_INSTANCES to set how many instances of Tor you'd like to run Use the enviornment variable TOR_PORT to set the port you'd like to connect to. The TOR_PORT variable can also be an ip address and port (TOR_PORT=127.0.0.1:9050)

By default TOR_INSTANCES is set to 5 and TOR_PORT is set to 0.0.0.0:9050