After I installed OpenVPN client on Windows, My laptop can not received IP Address from DHCP Server by OpenVPN server. I don’t know why but I can fixed this problem by add bellow this line in my configuration file.

route-method exe
route-delay 10

And this is full my configuration file detail :

» Read the rest of the entry..

Previous post, I posted how do configure the OpenVPN client on Ubuntu and this post I will show to do like that but configure it on Windows.

1. You must download OpenVPN Client for windows from : http://openvpn.se/download.html and install it.

2. Download this configure file : OpenVPN Client for Windows

3. After you downloaded ,this file must be edited by change IP/HostName of OpenVPN server to your OpenVPN server such as :

:
:
# You can have multiple remote entries
# to load balance between the servers.
remote YOUR.IP.OpenVPN.Server 1194
# Keep trying indefinitely to resolve the
# host name of the OpenVPN server. Very useful
# on machines which are not permanently connected
# to the internet such as laptops.
:
:

4. Download cacert.pem from OpenVPN Server. (Admin can help you).

5. Put them(openvpn-client.ovpn
and cacert.pem) in path c:\Program Files\Openvpn\config\

6. Right-click the OpenVPN Client Icon in the taskbar and select Connect

After I installed Endian Firewall. I enabled OpenVPN service and I want to connect to private network by OpenVPN Client. And this is workaround :

1. Download file cert.pem from OpenVPN Server. (System Admin can help you.)

2. Install OpenVPN Client.

# sudo apt-get install openvpn

3. If you put your cert.pem on this path /home/your_account_name/openvpn-client/cert.pem when you connect by OpenVPN client you must use this command :

# sudo openvpn –client –pull –comp-lzo –nobind –dev tap0 –ca /home/your_account_name/openvpn-client/cert.pem –auth-user-pass –remote Your_IP_Of_OpenVPN_Server

** This command has one line.

4. It’s complete.