Skip to content

mkjiau/rotating-proxy-torbridges

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-rotating-proxy (tor bridge)

Enable the functionality of Tor bridge that may resolve Tor network blocked because your ISP do blocks the connections, for more about Bridge Relay

               Docker Container
               -------------------------------------
                        <-> Polipo 1 <-> Tor Proxy 1 (Bridge setting) 
Client <---->  HAproxy  <-> Polipo 2 <-> Tor Proxy 2 (Bridge setting)
                        <-> Polipo n <-> Tor Proxy n (Bridge setting)

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

Usage

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

# ... or pull docker container (no bridge setting)
docker pull mattes/rotating-proxy:latest

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

# test with ...
curl --proxy 127.0.0.1:5566 http://echoip.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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 86.5%
  • HTML 13.5%