Openvpn Tutorial


Step 1 : Download Openvpn

Click here to download Openvpn (Openvpn website)
Click here to determine whether you are running 32-bit or 64-bit version of Windows.

Step 2 : Download 02vpn configuration files for Openvpn from your 02vpn account, you need to click on the Login tab on top.

Step 3 : Install Openvpn

Double click on the downloaded .exe file, then click "continue".



Openvpn setup window will appear click "next".



On the next screen click on "I Agree".



On the next screen, make sure all the components are selected than click "next".



Click "install" , after the installation is completed, Click "finish".

Step 4 : Openvpn setup.

Unzip the configuration files that you downloaded in step 2.

Copy unzipped files and paste it to: C:\Program Files\OpenVPN\config.
Click on "continue".



Now you can find "OpenVPN GUI" on the desktop, you can also find it here : "Start Menu" then "All Programs" and click "Openvpn" to expand..
Right click on "OpenVPN GUI" and go to "Properties".



Go to "Compatibility" tab and make sure "Privilege Level" is selected. Click "OK" and close the window..



Now Double click on OpenVPN GUI, then click "continue".



On system tray, right click on the Openvpn icon and hover the server you would like to connect, then click "Connect".



Put your 02vpn username and password, and click "OK".

You are now connected to 02vpn !

Step 1 : Click here to download TunnelBlick

Step 2 : Download 02vpn configuration files for Openvpn from your 02vpn account, you need to click on the Login tab on top.

Step 3 : TunnelBlick setup

Install TunnelBlick following the onscreen instructions.



Lauch TunnelBlick and add configuration files by clicking on "I have configuration files".



Select "Openvpn configuration(s)".



Select "Open Private Configurations Folder".



Select "Done".



A new window with the folder "Configurations" will appear..



Now you need the Openvpn configuration files downloaded in step 2. Extract the entire contents into the "Configurations" folder. Close the window when done.

Step 4 : Connect to 02vpn with TunnelBlick

1. Launch Tunnelblick from "Applications".

2. Click on Tunnelblick icon on taskbar, a drop down menu will appear.

3. Select a VPN location you would like to connect to and it will prompt you for your O2vpn username and password.

4. Tunnelblick will now attempt to connect.

Step 1 : Download 02vpn configuration files for Openvpn from your 02vpn account, you need to click on the Login tab on top.

Copy the .zip file downloaded in step 1 to your home directory of your Linux box. If you downloaded from another machine you can use scp or winscp to transfer the .zip file between 2 machines.

Unzip it to your home directory.

# cd ~
# unzip O2vpn_xxxxx.zip

Step 2 : Openvpn setup.

Login as user root, then follow the system commands below :

Debian like system # apt-get install openvpn
Centos like system # yum install openvpn

# ln -s ~/<.O2vpn config file of your choice>.ovpn /etc/openvpn/<.O2vpn config file of your choice>.conf
# /etc/init.d/openvpn start or # service openvpn start

At start up you will be asked for your O2vpn username and password.

Then check the output of the ifconfig command, after few seconds you must see a new network device tun0.
Also check your logs /var/log/syslog or /var/log/messages for debugging.
If everithing sounds good do a traceroute to see if your traffic goes to the O2vpn server.
# traceroute 8.8.8.8
Then, for fast dns answers change the nameserver in /etc/resolv.conf file by your O2vpn gateway (10.X.0.1) (look at the output of the traceroute command).
e.g. nameserver 10.X.0.1

Step 1 : Download "Openvpn connect" from Apple store.

Step 2 : Download 02vpn configuration files for Openvpn from your 02vpn account, you need to click on the Login tab on top.

Step 3 : With the help of Itunes, send unzipped configuration files to your IOS (iphone or ipad) device.

Step 4 : Openvpn setup.

1. Go to the directory where your configuration files are and click on your prefered file.

2. Into "new Profiles" O2vpn configuration file will appear. Click on "Add" (green).

3. Fill in your O2vpn username and password.

4. Connect the VPN.

Step 1 : Download "Openvpn connect" for Android from Play Store.

Step 2 : Download 02vpn configuration files for Openvpn from your 02vpn account, you need to click on the Login tab on top.

Step 3 : Send configuration files to your Android device.

Unzip the configuration files that you just downloaded.
Copy unzipped files and paste it to the "download" directory of your Android device, you need to connect your device to your computer.

Step 4 : Openvpn setup.

Open the Openvpn app that you downloaded in step 1.



Click on the "three dot" button at the right corner, then select "import".



Click on "Import Profile from SD Card".



Click on the "Download" directory.



Click on your prefered 02vpn configuration file, then click on "Select".



Put your Vpn username and password, then click on "Connect".

You are now connected to 02vpn !

O2Vpn is Compatible with :

Back to Top