docker-tor-privoxy-alpine icon indicating copy to clipboard operation
docker-tor-privoxy-alpine copied to clipboard

change exit node country

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

Hi,

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

random-robbie avatar Sep 16 '16 11:09 random-robbie

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}

eduncan911 avatar Apr 02 '17 22:04 eduncan911

thank you for this!

random-robbie avatar Apr 02 '17 22:04 random-robbie