How to bypass OpenVPN censorship using Tor proxy (Windows)
Some governments block access to VPNs protocols: L2TP, PPTP, OpenVPN, but you can bypass it!
However you can tunnel TCP VPNs (only TCP) through Tor. and this is how to do it with OpenVPN on Windows.
Before beginning you have to know :
- You will need a computer to use as your Tor proxy server, it must be a different computer than the one you will connect to OpenVPN with.
- The Tor proxy server needs to be with the OpenVPN client(s) on the same network
- If you’re using your own VPN server, it must be in a country that doesn’t block OpenVPN protocol, this way to bypass OpenVPN censorship is for the clients not the server
Setting up Tor proxy server
- Download, install and run TorBrowser as explained here
- Close TorBrowser
- Go to the TorBrowser folder.. then
4. Edit the
torrc file and add a line with
5. Save the file and exit
6. Run TorBrowser, and click Allow access from the Windows Firewall
Now keep the browser open.. that’s your super easy Tor proxy server!
Setting up OpenVPN client
Now you have to get your OpenVPN configuration file for your OpenVPN server.
If you’re using a OpenVPN service, usually the VPN service provider will give you a file that ends with
- Download OpenVPN-GUI from here
- Install OpenVPN-GUI
3. Copy the the openvpn configuration file to the config folder under the OpenVPN installation folder (by default is
C:\Program Files\OpenVPN\config), you will need to copy it as administrator if it’s in the mentioned path.
4. right click the OpenVPN-GUI icon, choose settings
5. Set the proxy settings to SOCKS, the address of the Proxy server address, port to
9500 and click OK
6. Right click the OpenVPN icon and click connect
7. If your OpenVPN connection uses a username and a password, enter them when prompted
8. Congratulations! you’re now Connected 😉