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

change exit node country #8

Open
random-robbie opened this issue Sep 16, 2016 · 2 comments
Open

change exit node country #8

random-robbie opened this issue Sep 16, 2016 · 2 comments

Comments

@random-robbie
Copy link

Hi,

I wish to set a specific country for tor exit node how can i do this as i can not find torrc?

@eduncan911
Copy link

eduncan911 commented Apr 2, 2017

PR #10 is open for exactly that:

Since the repo owner of here hasn't merged #10 yet (and it's coming up on 6 monts), you may want to just use the fork that has the optional TOR configuration.

docker build https://github.com/djmaze/docker-tor-privoxy-alpine.git#allow-configuration

His updated README has your exact request as an example:

https://github.com/djmaze/docker-tor-privoxy-alpine/tree/allow-configuration

Configuration

It is possible to define configuration options for the Tor daemon using env variables. Just define a variable prefixed with TOR_, as shown in this example:

docker run -d -p 8118:8118 -p 9050:9050 -e TOR_ExitNodes="{de}" rdsubhas/tor-privoxy-alpine

The torrc will now contain:

ExitNodes {de}

@random-robbie
Copy link
Author

thank you for this!

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

2 participants