I watch few geographically restricted channels via tor, by manually changing the exit nodes in the torrc file to the corresponding geographic location the go to the channel address.

Ideally, I would like to be able to do the following. save or bookmark few channels, or make some desktop shortcuts, say for channels a,b, and c, so that when i click any it perform the following, 1- change the exitnodes value in torrc file to one corresponding to the given shortcut, 2- restart tor 3- go to the webpage that stream that channel.

values for a given shortcut (i.e., exitnodes, web address) are known.

is this doable?

please advise!

  • 1
    What platform are you on? Windows, Linux, OS X ? Oct 20, 2015 at 8:03
  • I'm on windows 8
    – Ray
    Oct 20, 2015 at 16:07

3 Answers 3


When you start the Tor Browser, you can pass it a specific torrc file by using the -f option.

The fact that you can do this means you can create desktop icons that will open the Tor Browser with a torrc file of your choice, giving you the equivalent of tor.exe -f torrc_USA, tor.exe -f torrc_UK, etc.

For each country you want to use as an exit, create a separate torrc file, in each one including the ExitNodes {country_code} line.

Then create a shortcut icon to the Tor Browser Bundle, and edit it to include the appropriate torrc file. The shortcut is created automatically when you first extract Tor, so you just need to edit it. (You can do this by right-clicking on it, selecting Properties, and then adding -f <location_of_torrc_file> to the Targets box. Make sure these new arguments are outside of the " marks.)

Using this method you don't need to know the IP address of an exit node in a particular country - you just specify the country.

You can repeat the same method for each country you might want to use, resulting in several shortcuts which you can then rename appropriately. (e.g. "Start Tor Browser - US", "Start Tor Browser - UK", etc.)

  • if my shortcut target is "C:\Users\Me\Desktop\Tor Browser\Browser\firefox.exe" and my torrc_uk file location is C:\Users\Me\Desktop\Tor Browser\Browser\TorBrowser\Data\Tor\torrc_UK how will the edited target will exactly look please?
    – Ray
    Oct 20, 2015 at 19:22
  • Hi @Richard. Ray commented on my answer something belonging to this.
    – serv-inc
    Oct 20, 2015 at 20:07
  • Hi @Ray. Have you tried "C:\Users\Me\Desktop\Tor Browser\Browser\firefox.exe" -f C:\Users\Me\Desktop\Tor Browser\Browser\TorBrowser\Data\Tor\torrc_UK? (I don't have a Windows machine in front of me right now, but that looks like it should work.) Oct 21, 2015 at 16:39
  • hi @Ritchard, yeah it always keep ignoring the file and use the original torrc. however i used the concept.. different torrc file for different exitnodes via a less economic method. I installed different instances of the browser and renamed each in accordance with the exitnode geographic location. does the trick. there is even the chance to play multiple instances by changing the ports but I dont need that. so thx a lot for the idea :) much appreciated
    – Ray
    Oct 21, 2015 at 23:35

The easiest path for you might be to set the AllowDotExit flag in your torrc and use


This should use the exit node you specified, in this case myexitnode.

  • Thx user. I'll try a search what you have suggested and see how i can do it :)
    – Ray
    Oct 20, 2015 at 16:11
  • so do i just add, AllowDotExit to the torrc file like on a line on it self, then save. then when i type a URL in the Tor address bar i type lets say: bbc.co.uk.uk.exit/params? and sorry if i'm sounding an idiot but what params should be? whats "params" in general
    – Ray
    Oct 20, 2015 at 16:12
  • @Ray: usually, the syntax is AllowDotExit 1 on a line by itself.
    – serv-inc
    Oct 20, 2015 at 16:16
  • Just take the url for whatever you want to do, (for example youtube.com/watch?v=GF60Iuh643I), and add .myexitnode.exit, like so: youtube.com.myexitnode.exit/watch?v=GF60Iuh643I. You need an exit node in that country, not just the country code.
    – serv-inc
    Oct 20, 2015 at 16:24
  • Thanks a lot for the quick detailed reply. how do i get an exit node in the country? when i do it manually I just set the value of "exitnodes" to {country code} for example exitnodes {no} for norway
    – Ray
    Oct 20, 2015 at 16:51

i modify torrc file but keeps reverting to {us}

EntryNodes {uk} StrictNodes 1 ExitNodes {uk} StrictNodes 1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .