Turn Tor proxies into a rotate proxy.
Change RANGE_FROM
and RANGE_TO
in Dockerfile
if you want to increase/decrease the number of Tor proxies.
Default is 4100 to 4120, so 20 proxies.
docker build . -t tor-rotate-proxy
docker run -d -p 9100:9100 tor-rotate-proxy
curl --socks5 localhost:9100 api.ipify.org