Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattes/rotating-proxy
Rotating TOR proxy with Docker
https://github.com/mattes/rotating-proxy
docker haproxy http-proxy polipo proxy rotating-proxy socks-proxy tor
Last synced: 5 days ago
JSON representation
Rotating TOR proxy with Docker
- Host: GitHub
- URL: https://github.com/mattes/rotating-proxy
- Owner: mattes
- License: unlicense
- Created: 2014-04-11T23:23:34.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-04-25T07:50:11.000Z (9 months ago)
- Last Synced: 2025-01-12T07:02:24.564Z (12 days ago)
- Topics: docker, haproxy, http-proxy, polipo, proxy, rotating-proxy, socks-proxy, tor
- Language: Ruby
- Homepage:
- Size: 29.3 KB
- Stars: 1,147
- Watchers: 45
- Forks: 258
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
- awesome-tor - rotating-proxy - Rotating Tor proxy with Docker. (Applications / Other applications)
README
docker-rotating-proxy
=====================[![Docker Pulls](https://img.shields.io/docker/pulls/mattes/rotating-proxy.svg)](https://hub.docker.com/r/mattes/rotating-proxy/)
```
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
-----```bash
# build docker container
docker build -t mattes/rotating-proxy:latest .# ... or pull docker container
docker pull mattes/rotating-proxy:latest# start docker container
docker run -d -p 5566:5566 -p 4444:4444 --env tors=25 mattes/rotating-proxy# test with ...
curl --proxy 127.0.0.1:5566 https://api.my-ip.io/ip# monitor
http://127.0.0.1:4444/haproxy?stats
```Further Readings
----------------* [Tor Manual](https://www.torproject.org/docs/tor-manual.html.en)
* [Tor Control](https://www.thesprawl.org/research/tor-control-protocol/)
* [HAProxy Manual](http://cbonte.github.io/haproxy-dconv/configuration-1.5.html)
* [Polipo](http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/)--------------
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.