When your OpenVPN network is blocked by Deep Packet Inspection, as a Windows user, you can use tor to get it working again. In this article we ll describe steps necessary to port your TCP OpenVPN traffic through Tor-network. This way you will be able to bypass Deep packet inspection and connect to OpenVPN server from Iran, China and other countries where they commonly block ports used for VPN communications.

When openvpn is blocked by DPI we could use Tor to avoid DPI and then use encryption software like the openvpn to access internet.

Problem : When censorship is applied, the Openvpn network is often blocked by DPI.

Solution: We’ve developed OpenVPN with the Tor Browser Bundle to fight back against censorship.


  • only the TCP configs files works over the tor.
  • only work on the desktop (Windows, macOS and Linux).

Send encrypted data over a Tor connection to an exit node. This secures your communications against DPI. By running Tor and OpenVPN Servers on top of tor, you are making yourself a privacy fortress.


  1. Install OpenVPN (OpenVPN installation guide)

  2. Download the Tor Browser for Windows

  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

tor browser edit

  1. Save the change

  2. Download an OpenVPN configuration file from our website, making sure you select Windows as Platform and Port TCP 443

  3. Extract the zip file to your desktop

  4. Open the OpenVPN configuration file with Wordpad

  5. Add the following entries to it:

socks-proxy 9150 

edit openvpn configuration

  1. Save the changes and then copy the files into C:\program files\openvpn\config\

  2. Start the Tor Browser

  3. Right-click on the OpenVPN GUI icon and select Run as administrator

  4. Click Yes for the Pop-up requesting permission for making changes

  5. Right-click on the OpenVPN icon in the systray and select the zebravpn profile and then click on connect

  6. Open Firefox and then go to ifconfig.co to check your IP

  7. Follow our SOCKS5 guide and then reload ifconfig.co to verify that the IP address is showing one of zebravpn's IP addresses

Source: Mullvad VPN