Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.
/ rotating-proxy Public archive
forked from mattes/rotating-proxy

Rotating TOR proxy with Docker for RPi

License

Notifications You must be signed in to change notification settings

prafiles/rotating-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-rotating-proxy

Built upon the interesting work of https://github.com/mattes/rotating-proxy This is a port for RPi (based on Raspbian Jessie)

               Docker Container
               -------------------------------------
                        <-> Polipo 1 <-> Tor Proxy 1
Client <---->  HAproxy  <-> Polipo 2 <-> Tor Proxy 2
                        <-> Polipo n <-> Tor Proxy n

Why: Lots of IP addresses. One single endpoint for your client. Load-balancing by HAproxy.

Usage

# build docker container
docker build -t prafiles/rotating-proxy:latest .

# ... or pull docker container
docker pull prafiles/rotating-proxy:latest

# start docker container
docker run -d -p 5566:5566 -p 1936:1936 --env tors=25 prafiles/rotating-proxy

# test with ...
curl --proxy 127.0.0.1:5566 http://echoip.com
curl --proxy 127.0.0.1:5566 http://header.jsontest.com

# monitor
http://127.0.0.1:1936/haproxy?stats

Further Readings


Please note: Tor offers a SOCKS Proxy only. In order to allow communication from HAproxy to Tor, Polipo is used to translate from HTTP proxy to SOCKS proxy. HAproxy is able to talk to HTTP proxies only.

About

Rotating TOR proxy with Docker for RPi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 86.6%
  • HTML 13.4%