{"id":1218,"date":"2020-01-05T20:22:54","date_gmt":"2020-01-05T19:22:54","guid":{"rendered":"https:\/\/www.torbox.ch\/?page_id=1218"},"modified":"2024-12-08T11:27:53","modified_gmt":"2024-12-08T10:27:53","slug":"using-tor-browser-and-torbox-together","status":"publish","type":"page","link":"https:\/\/www.torbox.ch\/?page_id=1218","title":{"rendered":"Using Tor Browser and TorBox together"},"content":{"rendered":"\n<p><strong>IPMORTANT<\/strong> <strong>\ud83d\udea8<\/strong>: Since version 12 the Tor Browser has a reliable auto-connection feature, which automatically activates bridges when used from a client behind the TorBox. <strong>This solution works very well and <strong> is very secure<\/strong>. \ud83d\udd10<\/strong> \u2714\ufe0e Therefore the points mentioned below are not necessary anymore, but not removed because of informational purposes.<\/p>\n\n\n\n<center><h1><p style=\"text-align: center;\">\u2022 \u2022 \u2022<\/p><\/h1><\/center>\n\n\n\n<p>In late 2021, <a href=\"https:\/\/gitlab.torproject.org\/tpo\/core\/tor\/-\/issues\/2667\">tor relays started to block tor over tor traffic because it can harm the Tor network<\/a>. This situation is logged accordingly in the tor log file on the TorBox:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nNot attempting connection to &#x5B;scrubbed]:80 because the network would reject it. Are you trying to send Tor traffic over Tor? This traffic can be harmful to the Tor network. If you really need it, try using a bridge as a workaround.\n<\/pre><\/div>\n\n\n<p>There are three possibilities to deal with that situation:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"350\" height=\"443\" src=\"https:\/\/www.torbox.ch\/wp-content\/uploads\/2023\/10\/SOCKS5-mullvad-001-e1696755918829.png\" alt=\"\" class=\"wp-image-3468\"\/><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Using bridges in the Tor Browser<\/strong>: This will not prevent a &#8220;tor over tor&#8221; scenario but hide the fact that you already use tor from the tor network.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Using the Mullvad browser instead of the Tor Browser<\/strong>: The <a href=\"http:\/\/mullvad.net\/download\">Mullvad Browser<\/a> is built on the same principles and with similar safety levels as the&nbsp;Tor Browser, but without an integrated tor client (see also the TorProject <a href=\"https:\/\/blog.torproject.org\/releasing-mullvad-browser\/\">announced<\/a>). In short: the Mullvad Browser is Tor Browser without the Tor Network. With this combination, you route all client network traffic through tor without having a &#8220;tor over tor&#8221; situation and use a safe Browser. <br><br><strong>Important<\/strong>: You can only access .onion addresses with Mullvad browser if the browser is configured to use the SOCKS5 of TorBox (see image on the right): Under about:preferences, scroll down to the bottom and click under &#8220;Network Settings&#8221; on &#8220;Settings\u2026&#8221;, choose &#8220;Manual proxy configuration&#8221;, and under &#8220;SOCKS Host&#8221; enter following IP: 192.168.42.1 \/ Port: 9050 (wlan) or IP: 192.168.43.1 \/ Port: 9050 (cable). Toggle on &#8220;Proxy DNS when using SOCKS v5&#8221;. For more information, see <a href=\"https:\/\/www.torbox.ch\/?page_id=112#im-connected-to-torbox-but-my-browser-doesnt-display-onion-sites-whats-wrong\">here<\/a>.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Prevent the start of Tor Browser&#8217;s tor client and use TorBox&#8217;s SOCKS5 functionality<\/strong>. This possibility is explained in more detail below.<br><strong>IPMORTANT<\/strong> <strong>\ud83d\udea8<\/strong>: Since version 12 of the Tor Browser and the availability of the Mullvad Browser <strong>this is not anymore a recommended solution!<\/strong><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<center><h1><p style=\"text-align: center;\">\u2022 \u2022 \u2022<\/p><\/h1><\/center>\n\n\n\t\t\t\t<div class=\"wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1 uagb-toc__collapse uagb-block-071a99aa      \"\n\t\t\t\t\tdata-scroll= \"1\"\n\t\t\t\t\tdata-offset= \"30\"\n\t\t\t\t\tstyle=\"\"\n\t\t\t\t>\n\t\t\t\t<div class=\"uagb-toc__wrap\">\n\t\t\t\t\t\t<div class=\"uagb-toc__title\">\n\t\t\t\t\t\t\tTable Of Contents\t\t\t\t\t\t\t\t\t\t\t\t\t<svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" viewBox= \"0 0 384 512\"><path d=\"M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z\"><\/path><\/svg>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"uagb-toc__list-wrap \">\n\t\t\t\t\t\t<ol class=\"uagb-toc__list\"><li class=\"uagb-toc__list\"><a href=\"#basics-for-all-operating-systems\" class=\"uagb-toc-link__trigger\">Basics for all operating systems<\/a><li class=\"uagb-toc__list\"><a href=\"#implementation-with-macos\" class=\"uagb-toc-link__trigger\">Implementation with macOS<\/a><li class=\"uagb-toc__list\"><a href=\"#implementation-with-linux\" class=\"uagb-toc-link__trigger\">Implementation with Linux<\/a><li class=\"uagb-toc__list\"><a href=\"#implementation-with-windows-10-2018-or-newer\" class=\"uagb-toc-link__trigger\">Implementation with Windows 10 (2018 or newer)<\/a><li class=\"uagb-toc__list\"><a href=\"#it-doesnt-work-and-im-lost\" class=\"uagb-toc-link__trigger\">It doesn&#039;t work, and I&#039;m lost ?\ud83d\ude1f<\/a><\/ol>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\n\n\n<h5 class=\"wp-block-heading\">Basics for all operating systems<\/h5>\n\n\n\n<p>The steps to use Tor Browser without an own Tor instance on the client machine is for all operating systems the same:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.torproject.org\/download\/\">Download the latest version of the Tor Browser<\/a> and install it &#8212; preferably without changing the standard settings regarding the installation location.<\/li>\n\n\n\n<li>Next, environment variables must be temporarily set to tell the Tor Browser not to load a Tor instance.<\/li>\n\n\n\n<li>Depending on whether the client is connected to the TorBox wirelessly via the TorBox AP or with a cable, the <a href=\"https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/user.js\">user.js<\/a> or <a href=\"https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/user_cable.js\">user_cable.js<\/a> file must be used, which must be unnamed to <strong>user.js<\/strong>.<\/li>\n\n\n\n<li>Make a backup of the file <strong>prefs.js<\/strong> and put the file <strong>user.js<\/strong> in the profile directory to ensure that the correct variables are passed to the Tor Browser so that the browser is usable even if there is no own Tor instance available. The variables tell the Tor Browser that it should use the TorBox Socks5 as a proxy. The variables in the user.js will be integrated into prefs.js. This means that  you need to backup prefs.js if you changed something with &#8220;about:config&#8221;, which you want to have restored.<\/li>\n\n\n\n<li>Start the Tor Browsers.<\/li>\n<\/ol>\n\n\n\n<p>To restore the original behavior of the Tor Browser with its own Tor instance, do the following:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Close the Tor Browser.<\/li>\n\n\n\n<li>Delete the files <strong>user.js<\/strong> and <strong>prefs.js<\/strong>, which will be regenerated automatically with the next start of the Tor Browser. If you changed something with &#8220;about:config&#8221;, which you want to have restored, then you have to copy back your old prefs.js.<\/li>\n\n\n\n<li>Regarding the environment variables: no action is necessary because we changed them solely temporary.<\/li>\n\n\n\n<li>Start the Tor Browsers.<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<p>What&#8217;s in the <strong><a href=\"https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/user.js\">user.js<\/a><\/strong>?<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nuser_pref(\"extensions.torbutton.use_privoxy\", false);\nuser_pref(\"extensions.torbutton.settings_method\", \"custom\");\nuser_pref(\"extensions.torbutton.socks_host\", \"192.168.42.1\");\nuser_pref(\"extensions.torbutton.socks_port\", 9050);\nuser_pref(\"network.proxy.socks\", \"192.168.42.1\");\nuser_pref(\"network.proxy.socks_port\", 9050);\nuser_pref(\"extensions.torbutton.custom.socks_host\", \"192.168.42.1\");\nuser_pref(\"extensions.torbutton.custom.socks_port\", 9050);\nuser_pref(\"extensions.torlauncher.control_host\", \"192.168.42.1\");\nuser_pref(\"extensions.torlauncher.control_port\", 9051);\n<\/pre><\/div>\n\n\n<p>What&#8217;s in the <strong><a href=\"https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/user_cable.js\">user_cable.js<\/a><\/strong> (has to be renamed as <strong>user.js<\/strong> before used)?<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nuser_pref(\"extensions.torbutton.use_privoxy\", false);\nuser_pref(\"extensions.torbutton.settings_method\", \"custom\");\nuser_pref(\"extensions.torbutton.socks_host\", \"192.168.43.1\");\nuser_pref(\"extensions.torbutton.socks_port\", 9050);\nuser_pref(\"network.proxy.socks\", \"192.168.43.1\");\nuser_pref(\"network.proxy.socks_port\", 9050);\nuser_pref(\"extensions.torbutton.custom.socks_host\", \"192.168.43.1\");\nuser_pref(\"extensions.torbutton.custom.socks_port\", 9050);\nuser_pref(\"extensions.torlauncher.control_host\", \"192.168.43.1\");\nuser_pref(\"extensions.torlauncher.control_port\", 9051);\n<\/pre><\/div>\n\n\n<h5 class=\"wp-block-heading\">Implementation with macOS<\/h5>\n\n\n\n<p><strong>Manually: Tor Browser with TorBox<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.torproject.org\/download\/\">Download the latest version of the Tor Browser<\/a> and install it &#8212; <strong>the default installation directory of the Tor Browser is the application folder<\/strong>; <strong>the default profile-directory is somewhere in &#8220;~\/Library\/Application\\ Support\/TorBrowser-Data\/Browser\/&#8221;<\/strong> and have the extension .default<\/li>\n\n\n\n<li>Open a terminal (in the folder Applications \/ Utilities the program &#8220;Terminal&#8221;) and execute the following commands: <\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nexport TOR_NO_DISPLAY_NETWORK_SETTINGS=1\nexport TOR_SKIP_CONTROLPORTTEST=1\nexport TOR_SKIP_LAUNCH=1\n<\/pre><\/div>\n\n\n<p>We continue to work in that terminal. Don\u2019t close it yet!<\/p>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>In the same terminal, copy\u00a0<strong><a href=\"https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/user.js\">user.js<\/a><\/strong> into the profile directory:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# This gives the name of your profile directory (for example: i4u3pkk9.default -- you have to replace that string with your own):\ngrep \"^Path\" ~\/Library\/Application\\ Support\/TorBrowser-Data\/Browser\/profiles.ini | cut -c6-\n# Backup of prefs.js:\ncp ~\/Library\/Application\\ Support\/TorBrowser-Data\/Browser\/i4u3pkk9.default\/prefs.js \/Library\/Application\\ Support\/TorBrowser-Data\/Browser\/i4u3pkk9.default\/prefs.bak\n# Place the user.js in the profile directory\n# For clients connected to the TorBox wirelessly via the TorBox AP:\ncurl https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/user.js --output ~\/Library\/Application\\ Support\/TorBrowser-Data\/Browser\/i4u3pkk9.default\/user.js\n# For clients connected to the TorBox with a cable:\ncurl https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/user_cable.js --output ~\/Library\/Application\\ Support\/TorBrowser-Data\/Browser\/i4u3pkk9.default\/user.js\n<\/pre><\/div>\n\n\n<p><\/p>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>In the same terminal, start the Tor Browser:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\/Applications\/Tor\\ Browser.app\/Contents\/MacOS\/firefox\n<\/pre><\/div>\n\n\n<p><\/p>\n\n\n\n<p><strong>Manually: Restore &#8211; Tor Browser without TorBox<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Close the Tor Browser<\/li>\n\n\n\n<li>Open a terminal (it is in Applications \/ Utilities) and execute the following commands:\n<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# This restores your old prefs.js (don't forget to replace \"i4u3pkk9.default\" by your own):\ncp ~\/Library\/Application\\ Support\/TorBrowser-Data\/Browser\/i4u3pkk9.default\/prefs.bak \/Library\/Application\\ Support\/TorBrowser-Data\/Browser\/i4u3pkk9.default\/prefs.js\n# Delete user.js:\nrm ~\/Library\/Application\\ Support\/TorBrowser-Data\/Browser\/i4u3pkk9.default\/user.js\n<\/pre><\/div>\n\n\n<p><\/p>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Close the terminal \u2014 this will delete the environmental variables.<\/li>\n\n\n\n<li>Start the Tor Browser<\/li>\n<\/ol>\n\n\n\n<p><strong>Using a shell script<\/strong><br>We have created a shell script, which makes the process described above much easier:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download the shell script &#8220;<a href=\"https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/start_tor_browser_on_macos.sh\">start_tor_browser_on_macos.sh<\/a>&#8221; for clients connected to the TorBox wirelessly or &#8220;<a href=\"https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/start_tor_browser_on_macos_cable.sh\">start_tor_browser_on_macos_cable.sh<\/a>&#8221; for clients connected to the TorBox with a cable (right-click the link and press &#8220;save as&#8221; or something similar).<\/li>\n\n\n\n<li>Open a terminal, go to the directory where you downloaded the shell script and write the following command to make it executable: <\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nchmod u+x start_tor_browser_on_macos.sh\n<\/pre><\/div>\n\n\n<p>or<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nchmod u+x start_tor_browser_on_macos_cable.sh\n<\/pre><\/div>\n\n\n<p><\/p>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Right-click the file &#8220;start_tor_browser_on_macos.sh&#8221; or &#8220;start_tor_browser_on_macos_cable.sh&#8221; and chose &#8220;Open with\u2026&#8221;, &#8220;Other\u2026&#8221; and switch from &#8220;Recommended applications&#8221; to &#8220;All applications&#8221;.<\/li>\n\n\n\n<li>Then chose the program &#8220;Terminal&#8221; in the folder &#8220;utilities&#8221; and activate &#8220;Always open with&#8221;.<\/li>\n\n\n\n<li>Press open, and an error message appears that the program cannot be started because it is not signed. Press ok.<\/li>\n\n\n\n<li>Again right-click the file &#8220;start_tor_browser_on_macos.sh&#8221; or &#8220;start_tor_browser_on_macos_cable.sh&#8221; click on &#8220;Open&#8221;. The warning message appears again, but this time with an &#8220;Open&#8221;-Button. Click on that button.<\/li>\n\n\n\n<li>Now the Tor Browser starts without its own Tor instance. If you want to restore the original behavior of the Tor Browser with its own Tor instance, you have first to close the Tor Browser, and after that, press a key in the still open script window.<\/li>\n\n\n\n<li>From now on, you have only to double-click the file &#8220;start_tor_browser_on_macos.sh&#8221; or &#8220;start_tor_browser_on_macos_cable.sh&#8221; and it starts immediately.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.torbox.ch\/wp-content\/uploads\/2020\/01\/torbrowser_without_tor_on_macos-e1578251904446.png\"><img loading=\"lazy\" decoding=\"async\" width=\"780\" height=\"490\" src=\"https:\/\/www.torbox.ch\/wp-content\/uploads\/2020\/01\/torbrowser_without_tor_on_macos-e1578251904446.png\" alt=\"Tor Browser is running under macOS without its own Tor instance on a TorBox client device. It was started by the script \u201cstart_tor_browser_on_macos.sh\u201d.\" class=\"wp-image-1258\"\/><\/a><figcaption class=\"wp-element-caption\">Tor Browser is running under macOS without its own Tor instance on a TorBox client device. It was started by the script &#8220;start_tor_browser_on_macos.sh&#8221;.<\/figcaption><\/figure>\n<\/div>\n\n\n<h5 class=\"wp-block-heading\">Implementation with Linux<\/h5>\n\n\n\n<p><strong>Manually: Tor Browser with TorBox<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.torproject.org\/download\/\">Download the latest version of the Tor Browser<\/a> and unpack it. <strong>The default installation directory is the &#8220;tor-browser_xx-XX&#8221; directory where you unpacked the .tar.xz file<\/strong> (e.g., ~\/Desktop\/tor-browser_en-US\/); the default profile-directory is in the default installation directory under &#8220;<strong>Browser\/TorBrowser\/Data\/Browser\/profile.default<\/strong>\/&#8221;.<\/li>\n\n\n\n<li>Open a terminal, go to the default installation directory and execute the following commands:\n<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nexport TOR_NO_DISPLAY_NETWORK_SETTINGS=1\nexport TOR_SKIP_CONTROLPORTTEST=1\nexport TOR_SKIP_LAUNCH=1\n<\/pre><\/div>\n\n\n<p>We continue to work in that terminal. Don\u2019t close it yet!<\/p>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>In the same terminal, copy\u00a0<a href=\"https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/user.js\"><strong><a href=\"https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/user.js\">user.js<\/a><\/strong><\/a> into the default profile-directory:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# Backup of prefs.js:\ncp Browser\/TorBrowser\/Data\/Browser\/profile.default\/prefs.js Browser\/TorBrowser\/Data\/Browser\/profile.default\/prefs.bak\n# Place the user.js in the profile directory\n# For clients connected to the TorBox wirelessly via the TorBox AP:\ncurl https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/user.js --output Browser\/TorBrowser\/Data\/Browser\/profile.default\/user.js\n# For clients connected to the TorBox with a cable:\ncurl https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/user_cable.js --output Browser\/TorBrowser\/Data\/Browser\/profile.default\/user.js\n<\/pre><\/div>\n\n\n<p><\/p>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>In the same terminal, start the Tor Browser:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n.\/Browser\/start-tor-browser --detach\n<\/pre><\/div>\n\n\n<p><\/p>\n\n\n\n<p><strong>Manually: Restore &#8211; Tor Browser without TorBox<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Close the Tor Browser<\/li>\n\n\n\n<li>Open a terminal, go to the default installation directory and execute the following commands:\n<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# This restores your old prefs.js:\ncp Browser\/TorBrowser\/Data\/Browser\/profile.default\/prefs.bak Browser\/TorBrowser\/Data\/Browser\/profile.default\/prefs.js\n# Delete user.js:\nrm Browser\/TorBrowser\/Data\/Browser\/profile.default\/user.js\n<\/pre><\/div>\n\n\n<p><\/p>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Close the terminal \u2014 this will delete the environmental variables.<\/li>\n\n\n\n<li>Start the Tor Browser<\/li>\n<\/ol>\n\n\n\n<p><strong>Using a shell script<\/strong><br>We have created a shell script, which makes the process described above much easier:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download the shell script &#8220;<a href=\"https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/start_tor_browser_on_linux.sh\">start_tor_browser_on_linux.sh<\/a>&#8221; for clients connected to the TorBox wirelessly or &#8220;<a href=\"https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/start_tor_browser_on_linux_cable.sh\">start_tor_browser_on_linux_cable.sh<\/a>&#8221; for clients connected to the TorBox with a cable (right-click the link and press &#8220;save as&#8221; or something similar) and put it into the default installation directory (e.g., ~\/Desktop\/tor-browser_en-US\/).<\/li>\n\n\n\n<li>Open a terminal, go to the default installation directory, make &#8220;start_tor_browser_on_linux.sh&#8221; or &#8220;start_tor_browser_on_linux.sh_cable.sh&#8221; executable and start it: \n<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nchmod u+x start_tor_browser_on_linux.sh\n.\/start_tor_browser_on_linux.sh\n<\/pre><\/div>\n\n\n<p>or<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nchmod u+x start_tor_browser_on_linux_cable.sh\n.\/start_tor_browser_on_linux_cable.sh\n<\/pre><\/div>\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Now the Tor Browser starts without its own Tor instance. If you want to restore the original behavior of the Tor Browser with its own Tor instance, you have first to close the Tor Browser, and after that, press a key in the still open script window.<\/li>\n<\/ol>\n\n\n\n<h5 class=\"wp-block-heading\">Implementation with Windows 10 (2018 or newer)<\/h5>\n\n\n\n<p><strong>Manually: Tor Browser with TorBox<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.torproject.org\/download\/\">Download the latest version of the Tor Browser<\/a> and install it. <strong>The default installation directory is the folder &#8220;Tor Browser&#8221; on the Desktop<\/strong> (e.g., ~\\Desktop\\Tor Browser\\); the default profile-directory is in the default installation directory under &#8220;<strong>Browser<\/strong>\\<strong>TorBrowser<\/strong>\\<strong>Data<\/strong>\\<strong>Browser<\/strong>\\<strong>profile.default<\/strong>\\&#8221;.<\/li>\n\n\n\n<li>Open a terminal, go to the default installation directory and execute the following commands: <\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nexport TOR_NO_DISPLAY_NETWORK_SETTINGS=1\nexport TOR_SKIP_CONTROLPORTTEST=1\nexport TOR_SKIP_LAUNCH=1\n<\/pre><\/div>\n\n\n<p>We continue to work in that terminal. Don\u2019t close it yet!<\/p>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>In the same terminal, copy\u00a0<strong><a href=\"https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/user.js\">user.js<\/a><\/strong> into the default profile-directory:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# Backup of prefs.js:\ncopy Browser\\TorBrowser\\Data\\Browser\\profile.default\\prefs.js Browser\\TorBrowser\\Data\\Browser\\profile.default\\prefs.bak\n# Place the user.js in the profile directory\n# For clients connected to the TorBox wirelessly via the TorBox AP:\ncurl https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/user.js --output Browser\\TorBrowser\\Data\\Browser\\profile.default\\user.js\n# For clients connected to the TorBox with a cable:\ncurl https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/user_cable.js --output Browser\\TorBrowser\\Data\\Browser\\profile.default\\user.js\n<\/pre><\/div>\n\n\n<p><\/p>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>In the same terminal, start the Tor Browser:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\"Start Tor Browser.lnk\" --detach\n<\/pre><\/div>\n\n\n<p><\/p>\n\n\n\n<p><strong>Manually: Restore &#8211; Tor Browser without TorBox<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Close the Tor Browser<\/li>\n\n\n\n<li>Open a terminal, go to the default installation directory  and execute the following commands:\n<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# This restores your old prefs.js:\ncopy Browser\\TorBrowser\\Data\\Browser\\profile.default\\prefs.bak Browser\\TorBrowser\\Data\\Browser\\profile.default\\prefs.js\n# Delete user.js:\ndel Browser\\TorBrowser\\Data\\Browser\\profile.default\\user.js\n<\/pre><\/div>\n\n\n<p><\/p>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Close the terminal \u2014 this will delete the environmental variables.<\/li>\n\n\n\n<li>Start the Tor Browser<\/li>\n<\/ol>\n\n\n\n<p><strong>Using a batch file<\/strong><br>We have created a batch file, which makes the process described above much easier:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download the batch file &#8220;<a href=\"https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/start_tor_browser_on_windows.bat\">start_tor_browser_on_windows.bat<\/a>&#8221; for clients connected to the TorBox wirelessly or &#8220;<a href=\"https:\/\/raw.githubusercontent.com\/radio24\/TorBox\/master\/install\/start_tor_browser\/start_tor_browser_on_windows_cable.bat\">start_tor_browser_on_windows_cable.bat<\/a>&#8221; for clients connected to the TorBox with a cable (right-click the link and press &#8220;save as&#8221; or something similar) and put it into the default installation directory (e.g., <strong>~\\Desktop\\Tor Browser\\<\/strong>).<\/li>\n\n\n\n<li>Open a terminal, go to the default installation directory, and execute &#8220;start_tor_browser_on_windows.bat&#8221; or &#8220;start_tor_browser_on_windows_cable.bat&#8221;.<\/li>\n\n\n\n<li>Now the Tor Browser starts without its own Tor instance. If you want to restore the original behavior of the Tor Browser with its own Tor instance, you have first to close the Tor Browser, and after that, press a key in the still open script window.<\/li>\n<\/ol>\n\n\n\n<h5 class=\"wp-block-heading\">It doesn&#8217;t work, and I&#8217;m lost ?\ud83d\ude1f<\/h5>\n\n\n\n<p>Don&#8217;t give up! <a href=\"mailto: anonym@torbox.ch\">Contact us<\/a> and describe in detail what you already tried &#8212; we will try to help you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IPMORTANT \ud83d\udea8: Since version 12 the Tor Browser has a reliable auto-connection feature, which automatically activates bridges when used from a client behind the TorBox. This solution works very well and is very secure. \ud83d\udd10 \u2714\ufe0e Therefore the points mentioned below are not necessary anymore, but not removed because of informational purposes. \u2022 \u2022 \u2022 &hellip; <a href=\"https:\/\/www.torbox.ch\/?page_id=1218\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Using Tor Browser and TorBox together&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","footnotes":""},"class_list":["post-1218","page","type-page","status-publish","hentry"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"post-thumbnail":false},"uagb_author_info":{"display_name":"radio_24","author_link":"https:\/\/www.torbox.ch\/?author=1"},"uagb_comment_info":0,"uagb_excerpt":"IPMORTANT \ud83d\udea8: Since version 12 the Tor Browser has a reliable auto-connection feature, which automatically activates bridges when used from a client behind the TorBox. This solution works very well and is very secure. \ud83d\udd10 \u2714\ufe0e Therefore the points mentioned below are not necessary anymore, but not removed because of informational purposes. \u2022 \u2022 \u2022&hellip;","_links":{"self":[{"href":"https:\/\/www.torbox.ch\/index.php?rest_route=\/wp\/v2\/pages\/1218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.torbox.ch\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.torbox.ch\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.torbox.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.torbox.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1218"}],"version-history":[{"count":101,"href":"https:\/\/www.torbox.ch\/index.php?rest_route=\/wp\/v2\/pages\/1218\/revisions"}],"predecessor-version":[{"id":3699,"href":"https:\/\/www.torbox.ch\/index.php?rest_route=\/wp\/v2\/pages\/1218\/revisions\/3699"}],"wp:attachment":[{"href":"https:\/\/www.torbox.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}