Add system-wide proxy.pac file to Windows Tor guide

This commit is contained in:
gStart9
2025-11-14 14:13:07 -07:00
parent ceebea67c0
commit d7149493a7
7 changed files with 59 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 624 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

View File

@@ -27,7 +27,7 @@ Install Tor
#. Now you want to set up Tor to run as a service: to run in the background and keep itself running so you don't have to worry about it again. To do so, you need to open your Command Prompt as an administrator. #. Now you want to set up Tor to run as a service: to run in the background and keep itself running so you don't have to worry about it again. To do so, you need to open your Command Prompt as an administrator.
* In Windows 10, you can simply type ``cmd`` in the Windows search bar, right click on the first result, and select `Run as Administrator`. * In Windows 10+, you can simply type ``cmd`` in the Windows search bar (but don't hit enter). Under the Command Prompt result, select "Run as Administrator".
#. Once it opens, you can run the following commands, inserting your destination folder (from above) between `binPath="` and the `Browser` subfolder, like this: #. Once it opens, you can run the following commands, inserting your destination folder (from above) between `binPath="` and the `Browser` subfolder, like this:
@@ -57,6 +57,61 @@ Install Tor
2. Uninstall the Tor Browser, following `these steps <https://tb-manual.torproject.org/uninstalling/>`_. 2. Uninstall the Tor Browser, following `these steps <https://tb-manual.torproject.org/uninstalling/>`_.
3. Begin this guide again from the beginning. 3. Begin this guide again from the beginning.
If using Firefox Let all apps reach .onion sites system-wide
---------------- -------------------------------------------
Firefox can be configured to use Tor running on your Windows machine to resolve .onion URLs. Complete this guide: :ref:`tor-ff`
#. Enable IIS:
* Open the Start menu and select or type in **Control Panel**, then select **Programs > Programs and Features > Turn Windows features on or off**
.. figure:: /_static/images/tor/windows-proxy-step1-iis-programs_and_features-turn_on_iis_manager.png
:width: 80%
:alt: Windows System-wide proxy.pac: Control Panel > Programs > Programs and Features > Turn Windows features on or off
* In the Turn Windows features on or off dialog box, enable "Internet Information Server"
#. Go to the Start menu, type "cmd" into the search box (but don't hit enter).
"Command Prompt" will be the first search result. Select "Run as Administrator" underneath it.
#. You may be prompted for your password, then the Command Prompt will open. Run the following two commands in succession:
.. code-block::
cd C:\inetpub\wwwroot\
curl -O https://start9.com/assets/proxy.pac
#. Configure the proxy.pac MIME type in IIS Manager:
a) Open IIS Manager as Administrator. You can search for **IIS Manager** in the Start menu or find it under **Control Panel > System and Security > Windows Tools**:
.. figure:: /_static/images/tor/windows-proxy-step2-iis-manager.png
:width: 80%
:alt: Windows System-wide proxy.pac: Open IIS Manager
b) In the Connections pane on the left, expand your server name and then expand the Sites node.
c) Click on the Default Web Site
d) In the central Home pane, double-click the MIME Types feature icon.
e) In the MIME Types pane on the right, click Add...
f) In the Add MIME Type dialog box, enter the following information:
File name extension: `.pac`
MIME type: `application/x-ns-proxy-autoconfig`
g) Click OK to save the new MIME type.
#. Go to your Start menu and select Settings:
.. figure:: /_static/images/tor/windows-proxy-step3-settings.png
:width: 80%
:alt: Windows System-wide proxy.pac: Start > Settings
#. Select Network & Internet > Proxy
.. figure:: /_static/images/tor/windows-proxy-step4-network-proxy.png
:width: 80%
:alt: Windows System-wide proxy.pac: Network & Internet > Proxy
#. Under Proxy, select Use Setup Script -> Edit
.. figure:: /_static/images/tor/windows-proxy-step5-network-edit.png
:width: 80%
:alt: Windows System-wide proxy.pac: Use Setup Script -> Edit
#. In the "Script address" field, enter:
.. code-block::
http://loalhost/proxy.pac
#. Hit Save
Now your browsers (and any other application system-wide) should be able to access .onion domains.