rotating-proxy
rotating-proxy copied to clipboard
Exit Nodes
Hey dude,
I know normally you need to edit torrc for changing exit nodes to set countrys.
how would you do it on this?
would i fork it and then add a new torrc file or would i change something in the ruby file to choose the country exit nodes?
Hi there,
Bringing up an old issue I guess :)
In my case, I just need to "SSH" to the container using the following steps:
-
docker ps
to list the containers -
docker exec -ti {container-id} /bin/bash
"SSH" to the container where {container-id} is your rotating-proxy container -
nano /etc/tor/torrc
and add theExitNodes {US}
(for example) or using this commandecho ExitNodes "{us}" | sudo tee -a /etc/tor/torrc
(copied from https://tor.stackexchange.com/questions/13134/how-do-i-restrict-exit-to-one-country-while-running-under-tails-2-6) -
service tor restart
restart tor service inside the container -
docker restart {container-id}
restart the container
I think it's a workaround and maybe someone else has a better solution to this.
this doesn't work for me