rotating-proxy icon indicating copy to clipboard operation
rotating-proxy copied to clipboard

Exit Nodes

Open random-robbie opened this issue 7 years ago • 2 comments

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?

random-robbie avatar Nov 08 '17 14:11 random-robbie

Hi there,

Bringing up an old issue I guess :)

In my case, I just need to "SSH" to the container using the following steps:

  1. docker ps to list the containers
  2. docker exec -ti {container-id} /bin/bash "SSH" to the container where {container-id} is your rotating-proxy container
  3. nano /etc/tor/torrc and add the ExitNodes {US} (for example) or using this command echo 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)
  4. service tor restart restart tor service inside the container
  5. docker restart {container-id} restart the container

I think it's a workaround and maybe someone else has a better solution to this.

bagaskarawg avatar Dec 31 '18 09:12 bagaskarawg

this doesn't work for me image image

landaida avatar Apr 06 '21 14:04 landaida