How to set up OpenVPN on Linux

This is Command Line version Guide.
OpenVPN Network Manager plugin seems to be buggy.

  1. Install the latest OpenVPN package (depends on your Linux distribution).
  2. Download the OpenVPN configuration files and CA certificate.
  3. Unzip all *.ovpn files (each file is for one VPN server) and unblockvpn-ca.pem files to some directory. For example to your HOME directory.
  4. Open terminal as a ROOT and change to directory which contain previously unzipped files.
  5. Then start your openVPN connection in terminal using for example this command (czech server): openvpn --config eu_czech_republic.ovpn
  6. Enter your UnblockVPN Account details - your email as User name and Password.
  7. If you can see the message "Initialization Sequence Completed" your openvpn connection is established.

If you have problem with opening pages. It is probably problem with automatic DNS or ROUTE configuration.
Please check your /etc/resolv.conf file and add right DNS configuration. You can use for example Free DNS servers from OpenDNS.com.

back to Unblock VPN support