I want:ISP -> Tor -> Proxy -> Site. Reason: to bypass Tor exit nodes block by destination website. Why in Tor Browser not in Firefox: to have the same fingerprint as in TB and to get rid of Firefox built-in malware.
Hello. I’d like to set up SOCKS(4/5) proxy in Tor Browser on Whonix Workstation. I followed the instruction described in support but after I perform the actions described in wiki, connections are closed though in Firefox browser on top of Workstation adding SOCKS proxies works well. I think that something inside Whonix Tor Browser configuration prevents from connection to SOCKS proxies.
I did the following inside Tor Browser’s about:config: extensions.torbutton.use_nontor_proxy → true network.proxy.no_proxies_on → 0 network.proxy.socks → IP of proxy server network.proxy.socks_port → Port number of proxy server
I recommend Generic Bug Reproduction as follows:
Use Tor Browser outside of Whonix (in Debian bullseye) and re-configure it to use only a proxy. Only once that is known to work, try inside Whonix-Workstaiton.
Finally, I’ve found the solution how to turn on SOCKS proxy on Tor Browser in Whonix Workstation. I made the following steps:
Reinstalled fresh Tor Browser using Tor Browser Downloader (by Whonix)
Started TB, went to about:config and switched network.dns.disabled (enable DNS resolving) option to false
Then, I switched extensions.torbutton.use_nontor_proxy (allow Tor Browser to use non-Tor proxies) to true. Browser was restarted automatically after switching that option
Then, in about:config I set network.proxy.no_proxies_on option value 0 (told TB that I want to use proxy)
And finally, set up SOCKS proxy settings: network.proxy.socks → IP of proxy server network.proxy.socks_port → Port number network.proxy.socks_remote_dns → false (if your proxy server doesn’t support resolving DNS through proxy. In this case, DNS will go through Tor exit nodes thanks to Whonix) network.proxy.socks_version → 4/5 (Version of your proxy server)
I don’t know why, but socks proxies still work bad with Tor Browser. Connections are slower, sometimes disappears. SOCKS proxies works better with Firefox ESR on top of Whonix Workstation. May be it depends on proxy, may be not. So, I don’t know why proxies work better with Firefox ESR and worse with TBB.
So, there are generally two approaches how to make ISP -> Tor -> Proxy -> Site work well.
Modifying Whonix’s TBB settings in order to make TBB on top of ws work well with socks proxies.
Use Firefox ESR and edit about:config settings as much as possible in order to make Firefox ESR fingerprint similar to Tor Browser. Huge job should be done in that case.