All Projects → u1234x1234 → torpool

u1234x1234 / torpool

Licence: MIT license
Containerized pool of multiple Tor instances with load balancing and HTTP proxy.

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to torpool

TorIpChanger
Python powered way to get a unique Tor IP
Stars: ✭ 42 (+0%)
Mutual labels:  tor, privoxy
torchestrator
Spin up Tor containers and then proxy HTTP requests via these Tor instances
Stars: ✭ 32 (-23.81%)
Mutual labels:  tor, privoxy
Dockerfiles
Discontinued. Fork at your will.
Stars: ✭ 384 (+814.29%)
Mutual labels:  alpine, tor
tor-privoxy
Docker Tor proxy (http and shell) built on Alpine Linux
Stars: ✭ 51 (+21.43%)
Mutual labels:  tor, privoxy
Multitor
Create multiple TOR instances with a load-balancing.
Stars: ✭ 624 (+1385.71%)
Mutual labels:  tor, haproxy
Rotating Proxy
Rotating TOR proxy with Docker
Stars: ✭ 739 (+1659.52%)
Mutual labels:  tor, haproxy
Dockerfile
some personally made dockerfile
Stars: ✭ 2,021 (+4711.9%)
Mutual labels:  alpine, tor
terragrunt
Auto-trigger docker build for terragrunt when new terraform version released
Stars: ✭ 23 (-45.24%)
Mutual labels:  alpine
alpine-grafana
alpine-grafana
Stars: ✭ 14 (-66.67%)
Mutual labels:  alpine
docker-upsource
Dockerfile for Upsource.
Stars: ✭ 18 (-57.14%)
Mutual labels:  alpine
akka-http-docker-sample
example of running an Sbt application in Docker based on openjdk:jre-alpine
Stars: ✭ 20 (-52.38%)
Mutual labels:  alpine
T0rlib4j
T0rlib4j is a Java controller library for Tor
Stars: ✭ 50 (+19.05%)
Mutual labels:  tor
dockerimages
🐳 Some dockerfiles based on alpine
Stars: ✭ 27 (-35.71%)
Mutual labels:  alpine
OrionServer
An open-source, centralized HTTPS botnet
Stars: ✭ 58 (+38.1%)
Mutual labels:  tor
consul-vault
HashiCorp Vault service running on Consul cluster backend with HAProxy frontend
Stars: ✭ 27 (-35.71%)
Mutual labels:  haproxy
docker-redis-haproxy-cluster
A Redis Replication Cluster accessible through HAProxy running across a Docker Composed-Swarm with Supervisor and Sentinel
Stars: ✭ 44 (+4.76%)
Mutual labels:  haproxy
ToRat client
This is the ToRat client, a part of the ToRat Project.
Stars: ✭ 29 (-30.95%)
Mutual labels:  tor
docker-node-ci
The Docker image based on the official "node" image optimized for a CI environment
Stars: ✭ 18 (-57.14%)
Mutual labels:  alpine
http-server
A Java HTTP server in 35MB Docker image
Stars: ✭ 17 (-59.52%)
Mutual labels:  alpine
addon-base
Docker base images (Alpine) - Home Assistant Community Add-ons
Stars: ✭ 25 (-40.48%)
Mutual labels:  alpine

Docker Pulls Size

torpool

Containerized pool of multiple Tor instances with load balancing and HTTP proxy.

Key features

  • Multiple Tor instances with a single endpoint for the end user
  • Easy configured (IP rotation, country selection of the exit node, etc)
  • Lightweight alpine based Docker image
  • HTTP proxy with Privoxy
  • HTTP/Socks load balancing with HAProxy
  • Does not using root user inside Docker
              +-----------------------------------------------+           
              | Docker                                        |           
              |                                               |           
              |                   +-------+            +----+ |           
              |                   |Privoxy|------------|Tor1| |           
              |                   +-------+        |   +----+ |           
+------+      | +-------+         +-------+        |   +----+ |           
|Client|--------|Haproxy|-------- |Privoxy|--------|---|Tor2| |           
+------+      | +-------+         +-------+        |   +----+ |           
              |     |             +-------+        |   +----+ |           
              |     |             |Privoxy|--------|---|Tor3| |           
              |     |             +-------+        |   +----+ |           
              |     |                              |          |           
              |     |                              |          |           
              |     +------------------------------+          |           
              |                                               |           
              +-----------------------------------------------+           

Usage

Start 5 Tor instances:

docker run -d -p 9200:9200 -p 9300:9300 u1234x1234/torpool:1.0.3 --Tors=5

HTTP proxy is accessible at port 9300:

curl --proxy localhost:9300 http://ipinfo.io/ip

Socks is accessible at port 9200:

curl --socks5 localhost:9200 http://ipinfo.io/ip

To make Tor instances rotate:

docker run -d -p 9200:9200 -p 9300:9300 u1234x1234/torpool:1.0.3 --MaxCircuitDirtiness 30 --NewCircuitPeriod 30

Use only US exit nodes:

docker run -d -p 9200:9200 -p 9300:9300 u1234x1234/torpool:1.0.3 --ExitNodes {us}

List of available Tor options

To view HAProxy stats page:

docker run -d -p 9200:9200 -p 9300:9300 -p 9500:9500 u1234x1234/torpool:1.0.3

Then open in browser http://localhost:9500/haproxy_stats and enter HAProxy username and password. The default username is haproxy, password is password, but it can be changed using using the volume mounting:

echo "pss" > pass_file
docker run -d -p 9200:9200 -p 9300:9300 -p 9500:9500 -v "$PWD/pass_file":/run/secrets/haproxy_password u1234x1234/torpool:1.0.3

Expected password location: /run/secrets/haproxy_password, username: /run/secrets/haproxy_username.

Docker-compose example:

version: '3'
services:
  torpool:
    image: u1234x1234/torpool:1.0.3
    command: ['--Tors', '2', '--NewCircuitPeriod', '30', '--MaxCircuitDirtiness', '30']
    container_name: torpool
    ports:
      - "9200:9200"
      - "9300:9300"
      - "9500:9500"

Why

There is a lot of great projects on github, but non of them provides all the options listed above. Some of them:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].