Search code examples
proxytorsocks

How to run Multiple Tor Browser instances on windows?


I am trying to run multiple instances of Tor Browser on Windows with different torrc configuration and different ip addresses.

Tor Browser version: 10

OS: Windows 7

I have modified torrc file with SocksPort and ControlPort, also I have modified extensions.torlauncher.control_port and network.proxy.socks_port on the browser.

I am able to open multiple windows from the same TBB but unable to open separate instances with separate torrc config.

I have tried these options, but they don't work anymore.

https://gist.github.com/lethak/9a17a6e235e58013a644c6b20d8495b1

https://tor.stackexchange.com/questions/6846/multiple-instances-of-tor-w-tor-browser-since-v4-5?rq=1

https://tor.stackexchange.com/questions/2006/how-to-run-multiple-tor-browsers-with-different-ips/6401#6401

How to run multiple Tor processes at once with different exit IPs?

Edit: Added screenshot of the error message , when tried to open multiple Tor Browser instances.

error screenshot


Solution

  • Make a copy of your installed Tor directory. (For example copy to Tor Browser2) Edit the file \Tor Browser2\Browser\TorBrowser\Data\Browser\profile.default\prefs.js In my example the socks port is 9250, the control port is 9251 user_pref("network.proxy.socks_port", 9250); user_pref("network.security.ports.banned", "9050,9051,9250,9251"); user_pref("extensions.torlauncher.control_port", 9251);

    Here you can see that 2 Tor instances are running.