|
OPENVPN client connection.
1.Download an openvpn client
for windows http://openvpn.se/files/install_packages/openvpn-2.0.9-gui-1.0.3-install.exe
for mac http://tunnelblick.googlecode.com/files/Tunnelblick_3.0b22.dmg
FOR MAC
A Graphical User Interface for OpenVPN on Mac OS X is a package called Tunnelblick. To install this GUI, follow the steps below:
- Download the package from the site http://www.tunnelblick.net. It is a Zip compressed file which contains the GUI and the OpenVPN software;
- Double-click on the zip file (we suppose it is located on the Desktop) to extract the only file that contains. The executable file called Tunnelblick appears on the Desktop;
- Double-click on the file Tunnelblick to start the program. A dialog box appears to alert you that configuration files must be stored in the directory Library/openvpn/. Press [Continue] and then close the openvpn.conf configuration file. We will not use this example file;
- Tunnelblick is now installed and its icon appears near the clock. At this point, you have to configure OpenVPN to establish the VPN connection with a ovpn_client1 server;
- Copy the files sent to you by HPCHOST into the directory Library/openvpn of the user home directory. If you want you can remove the sample file openvpn.conf from the folder Library/openvpn;
- Close Tunnelblick by clicking the [Quit] item from the menu that appears by clicking on the Tunnelblick's icon. Restart it again by double-clicking on the Tunnelblick program. The item [Connect 'ovpn_client1'] is now available in the Tunnelblick menu. Choose it to start the VPN connection with the ovpn_client1 server;
- Start the VPN connection by selecting the item [Connect 'ovpn_client1']. In the dialog box that appears type the username and password (look at the Note *).
In the case in which there are connection problems, select the item [Details...] to check the OpenVPN's log messages.
FOR Windows
To install OpenVPN GUI for Windows on a Microsoft Windows XP 32/64 bits, follow the steps below:
- Download the installer from the URL http://openvpn.se/download.html. Choose he file that contains the GUI and the OpenVPN software already included;
- Start with the installation. Select the default options and confirm the installation of the TAP-Win32 Adapter V8 device (it is a Virtual Ethernet interface used by OpenVPN).When the Installer has finished to work, the TrayBar contains the VPN icon with two red terminals and the Earth Globe symbol. Such terminals are yellow when OpenVPN is trying to establish the connection and they are green when you are finally connected with the VPN;
- In the Windows Start Menu, click on [Start]->[All Programs]->[OpenVPN]->[OpenVPN configuration file directory]. You will be able to explore the folder: C:\Program Files\OpenVPN\config in which you must copy the files sent to you by email
- At this point, you have finished to install and configure the OpenVPN client and its GUI. With a double-click on the OpenVPN icon in the Tray Bar, you can try to start the VPN connection. A dialog box will appear and request you to type the username and the password to be authenticated (look at the note *). If the authentication step is successfully completed, then the VPN connection will be established and the two yellow terminals will become green.By right-clicking on the OpenVPN icon in the Traybar appears a contextual menu with several useful options: Connect, Disconnect, Show Status, View Log, Edit Config, Proxy Settings. Particularly useful to solve connection problems is the item View Log that allows to know the reason of the failures.
If instead the VPN is connected (the two terminals are green), but you are not able to reach the remote LAN or Internet using the Virtual Private Network, then you should use the ipconfig /all command from the Windows Prompt. Here there is an example of the lines of output about the virtual Ethernet interface:
If you wish to install the the command line version of OpenVPN rather than a GUI you can dowload the OpenVPN client from http://openvpn.net/index.php/open-source/downloads.html
You can then follow step 3 to install the files required. You can then right click on the file C:\Program Files\OpenVPN\config\ovpn_client1.ovpn and select Start OpenVPN on this config file.
|
Add to Favourites
Print this Article
|