How to run the tor browser through a second proxy after Tor?

Tor Asked by 14987355 on July 22, 2020

My arch-nemesis, Akamai, is interfering with my ability to live my daily life.

I’d like to use Tor Browser to connect to a website that blocks Tor IP addresses by using an open proxy after Tor. It doesn’t matter which protocol to me, so if the method only works with one protocol, that’s fine.

This question is very similar, but it doesn’t specify browser, and Firefox has too wide of a fingerprinting surface for my application. I’d like to use Tor Browser’s fingerprint from a different IP address.

I have tried the following:

  • cd Browser; torsocks ./firefox --safe-mode would work in theory if you changed the proxy settings, but in practice, it never actually launches.
  • Web-based proxies are right out. I need an SSL handshake with the remote host to even consider conducting business over the network.
  • cd Browser; proxychains ./firefox --safe-mode is liable to leak DNS information, isn’t it? I recall reading that proxychains doesn’t use remote DNS resolution, and just runs a regular dig command.

Any suggestions? If there’s something like proxychains that runs as its own proxy server and I can just set the proxy to that in --safe-mode that might just solve the problem, but for the life of me, I can’t find that.

One Answer

OK, I've figured it out.

In about:config, change the following settings.

  • network.proxy.socks_remote_dns -> false
  • network.proxy.type -> 0
  • extensions.torlauncher.start_tor -> false

Then in about:addons disable TorLauncher.

In your proxychains.conf, add your proxy after the Tor daemon (9050, rather than the browser's 9150). Make sure proxy_dns is in the config file.

Run proxychains (your-tbb-dir)/Browser/firefox.

The result should be a browser with the fingerprint of the TBB, but an IP address of a different reputation.

When you are done using the restricted site, reset the following settings

  • network.proxy.socks_remote_dns -> true
  • network.proxy.type -> 1
  • extensions.torlauncher.start_tor -> true

and re-enable TorLauncher.

I still need to look into a few security aspects of this. I recall reading that proxychains doesn't proxy DNS requests and yet it seems to clearly present an option to do so.

A quick search didn't really get me anywhere, so there's a lot of investigation that I still need to do on this, but I think by using iptables, I should be able to ascertain that the browser cannot create requests to anything but Tor.

I hope this helps anyone with the same problem.

Answered by lulofiv on July 22, 2020

Add your own answers!

Related Questions

Onion circuits on tails

1  Asked on September 28, 2021 by doodle


Problem connecting, socks failure

0  Asked on September 28, 2021 by s-e1


Tor client node ignores `set_config` from Stem

0  Asked on September 28, 2021 by vanbastelaer


How to install a newer GCC version (gcc 9.3.0) in Tails?

1  Asked on September 28, 2021 by earlyanteater9


What are great onion websites for researching and finding information?

1  Asked on February 21, 2021 by jamesharris1755


Tor service failing to start in Linux

1  Asked on January 16, 2021 by ryzenup


How is my IP being tracked?

1  Asked on January 15, 2021 by micheal-crichton


ExitNodes not respected on particular website

0  Asked on December 9, 2020 by philip-rego


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir