Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exit Nodes #25

Open
random-robbie opened this issue Nov 8, 2017 · 2 comments
Open

Exit Nodes #25

random-robbie opened this issue Nov 8, 2017 · 2 comments

Comments

@random-robbie
Copy link

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?

@bagaskarawg
Copy link

bagaskarawg commented Dec 31, 2018

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.

@landaida
Copy link

landaida commented Apr 6, 2021

this doesn't work for me
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants