Back to Guides

Tor and Mullvad VPN

Connecting to Mullvad via Tor

In this guide we will install the TorBrowser and enable other programs to connect to internet via the TorBrowser proxy. We will install OpenVPN and configure it to connect to Mullvad via the TorBrowser. Last step is to configure Firefox (or other programs) to connect to Mullvad using our SOCKS5 proxy

End result is that Firefox connects via Tor to Mullvad. Mullvad will be the exit node.
The TorBrowser itself will only use the TorNetwork.
Programs not configured to use Mullvad SOCKS5 proxy will connect directly to internet without using any VPN or TOR at all.

Windows:

  1. Install OpenVPN https://mullvad.net/guides/windows-openvpn-installation/
  2. Download the Tor Browser.
  3. Verify signatures.
  4. Install the Tor Browser.
  5. Open the Tor Browser folder on the desktop.
  6. Open Browser -> Open TorBrowser -> Open Data -> Open Tor
  7. Edit torrc-defaults and change CookieAuthentication 1 to CookieAuthentication 0
  8. Save the change.
  9. Download an OpenVPN configuration file from our website, make sure you select Windows as Platform and Port TCP 443
  10. Extract the zip file to your desktop
  11. Open the OpenVPN configuration file with Wordpad
  12. Add the following entries to it:
    route-nopull
    route 10.8.0.1 255.255.255.255
    socks-proxy 127.0.0.1 9150
  13. Save the changes and then copy the files into C:\program files\openvpn\config\
  14. Start the Tor Browser
  15. Right-click on the OpenVPN GUI icon and select Run as administrator
  16. Click on Yes for the Pop-up requesting permission for making changes
  17. Right-click on the OpenVPN icon in the systray and select the Mullvad profile and then click on connect
  18. Open Firefox and then go to ifconfig.co to check your IP
  19. Follow our SOCKS5 guide and then reload ifconfig.co to verify that the IP address is showing one of Mullvads IP addresses

 

MAC:

  1. Install TunnelBlick
  2. Click on Download Client
  3. Click on Instructions and configuration files under iOS, Android and other platforms.
  4. Select macOS as platform by using the drop-down menu.
  5. Select Port TCP 443
  6. Enter your account number, select a country and click on Download and then save it to your computer.
  7. Right-click the downloaded Mullvad.tblk file and select "show package content"
  8. Open the OpenVPN configuration file with Text Edit
  9. Add the following entries to it:
    route-nopull
    route 10.8.0.1 255.255.255.255
    socks-proxy 127.0.0.1 9150
  10. Close Text Edit (file will save automatically)
  11. Double-click on Mullvad.tblk and add the configuration to Tunnelblick
  12. Download and install the Tor Browser.
  13. Use Finder and go to Application folder
  14. Right-click the "TorBrowser" application and click "Show Package Content"
  15. Go to the subdirectory Content>Resources>TorBrowser>Tor
  16. Edit using Text Edit torrc-defaults and change CookieAuthentication 1 to CookieAuthentication 0
  17. Close Text Edit (file will save automatically)
  18. Start the Tor Browser
  19. Select Connect Mullvad from the Tunnelblick menu
  20. Install Firefox (or other web-browser that supports SOCKS5 proxies)
  21. Open Firefox and then go to am.i.mullvad.net to check your IP
  22. Follow our SOCKS5 guide and then reload am.i.mullvad.net to verify that the IP address is showing one of Mullvads IP addresses

Linux:

  1. Install OpenVPN (https://mullvad.net/guides/linux-openvpn-installation/)
  2. Download the Tor Browser. (https://www.torproject.org/download/download.html.en) Select Linux
  3. Verify signatures.
  4. Unpack the Tor Browser (xz -d tor-browser-linux*.xz && tar -vxf tor-browser-linux*.tar)
  5. cd into "tor-browser*/Browser/TorBrowser/Data/Tor"
  6. Edit torrc-defaults and change CookieAuthentication 1 to CookieAuthentication 0
  7. Save the change.
  8. Download an OpenVPN configuration file from our website, make sure you select Linux as Platform and 443 TCP as Port
  9. Extract the zip file
  10. Edit the OpenVPN configuration file
  11. Add the following entries to it:
    route-nopull
    route 10.8.0.1 255.255.255.255
    socks-proxy 127.0.0.1 9150
  12. Save the changes
  13. rename the configuration file to something easy to identify like mullvad_tor.conf
  14. Start the Tor browser
  15. Start OpenVPN using the mullvad_tor.conf
  16. Open Firefox (not the tor browser) and then go to am.i.mullvad.net to check your IP
  17. Follow our SOCKS5 guide and then reload am.i.mullvad.net to verify that the IP address is showing one of Mullvads IP addresses