Difference between revisions of "OpenVPN Guide OSX"

From CipherSpace Client Wiki
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:OpenVPN]]
[[Category:How To]]
[[Category:CloudInfrastructure]]
== Introduction ==
== Introduction ==
This guide will explain how to connect to your virtual machines, which aren’t accessible from the Internet, using the OpenVPN protocol. It will explain how to install Tunnelblick (OpenVPN client for Mac) on your mac as well as how to use it.
This guide will explain how to connect to your virtual machines, which aren’t accessible from the Internet, using the OpenVPN protocol. It will explain how to install Tunnelblick (OpenVPN client for Mac) on your mac as well as how to use it.
Line 14: Line 18:
Open the downloaded disk image file (which mounts the disk image):
Open the downloaded disk image file (which mounts the disk image):


[[File:Tunnelblick_Install_1.png|600px]]
[[File:Tunnelblick_Install_1.png|500px]]
   
   
And double-click the “Tunnelblick” icon (it may be labeled “Tunnelblick.app”):
And double-click the “Tunnelblick” icon (it may be labeled “Tunnelblick.app”):
Line 26: Line 30:
The following screen appears:
The following screen appears:


[[File:Tunnelblick_Install_3.png|600px]]
[[File:Tunnelblick_Install_3.png|500px]]
   
   
Type your password and click on “OK”.
Type your password and click on “OK”.


[[File:Tunnelblick_Install_4.png|600px]]
[[File:Tunnelblick_Install_4.png|500px]]
   
   
Click on “Launch”:
Click on “Launch”:
[[File:Tunnelblick_Launch_1.png|700px]]
   
   
Click on “I have configuration files”. You will see the following screen:
Click on “I have configuration files”. You will see the following screen:
[[File:Tunnelblick_Launch_2.png|600px]]
   
   
Before you can click on “OK”, the following screen appears:
Before you can click on “OK”, the following screen appears:
[[File:Tunnelblick_Launch_3.png|700px]]
   
   
Click on “Do not check for a change”. The next screen appears:
Click on “Do not check for a change”. The next screen appears:
[[File:Tunnelblick_Launch_4.png|500px]]
   
   
Click on “Check Automatically”.
Click on “Check Automatically”.


Now you can click on OK on the previous screen. The Tunnelblick installation is complete.
Now you can click on OK on the previous screen. The Tunnelblick installation is complete.
==Configuration==


To install the necessary configuration files, open the folder where you have stored the files we sent you:
To install the necessary configuration files, open the folder where you have stored the files we sent you:
[[File:Tunnelblick_Conf_1.png|700px]]
   
   
And double-click on the “.ovpn” file. The following screen appears:
And double-click on the “.ovpn” file. The following screen appears:
[[File:Tunnelblick_Conf_2.png|500px]]
   
   
If you have several users on this machine, who need to access the virtual machines, click on “All Users”, otherwise click on “Only Me”:
If you have several users on this machine, who need to access the virtual machines, click on “All Users”, otherwise click on “Only Me”:
[[File:Tunnelblick_Conf_3.png|500px]]
   
   
Type your password and click on OK:
Type your password and click on OK:
[[File:Tunnelblick_Conf_4.png|600px]]
   
   
Click on OK. The configuration files have been copied from your folder into Tunnelblick and are not needed anymore.
Click on OK. The configuration file has been copied from your folder into Tunnelblick and are not needed anymore.
 
Running Tunnelblick
==Running Tunnelblick==


If Tunnelblick isn’t already launched, double-click on the “Tunnelblick” app located in your “Applications” folder. The following icon appears on the top right of your screen:
If Tunnelblick isn’t already launched, double-click on the “Tunnelblick” app located in your “Applications” folder. The following icon appears on the top right of your screen:
 
[[File:Tunnelblick_Run_1.png|border]]


Put the mouse pointer on the icon (without clicking). The connection window appears:
Put the mouse pointer on the icon (without clicking). The connection window appears:
[[File:Tunnelblick_Run_2.png|300px]]
   
   
And click on “Connect”:
And click on “Connect”:
[[File:Tunnelblick_Run_3.png|500px]]
   
   
Type the password we sent you. If you want, you can store the password in your Keychain by checking the “Save in Keychain” box, so you don’t have to type it each time you use Tunnelblick. Click on OK. You will see the status changing until it says “Connected” and the connection window disappears. The Tunnelblick icon will be as follows:
Type the password we sent you for the corresponding configuration file. If you want, you can store the password in your Keychain by checking the “Save in Keychain” box, so you don’t have to type it each time you use Tunnelblick. Click on OK. You will see the status changing until it says “Connected” and the connection window disappears. The Tunnelblick icon will be as follows:
 
[[File:Tunnelblick_Run_4.png|border]]


If you cannot get connected, please contact us.
If you cannot get connected, please contact us.
You may get the following warning:
You may get the following warning:
[[File:Tunnelblick_Run_5.png|500px]]
   
   
If you do, check the “Do not check for IP address changes” box and click on OK.
If you do, check the “Do not check for IP address changes” box and click on OK.


Another method to connect is to click on the Tunnelblick icon ( ):
Another method to connect is to click on the Tunnelblick icon ([[File:Tunnelblick_Run_1.png|border|25px]] ):
 
[[File:Tunnelblick_Run_6.png|200px]]
   
   
And in the drop-down menu select “Connect CloudAtCipherSpace”.
And in the drop-down menu select “Connect <Customer-User>” (where <Customer-User> corresponds to your VPN configuration).
 


You should now test the VPN connection by opening a terminal window, (Click on the   icon on the top right of your screen, type “Terminal” and select the application) and type “ping xxx.xxx.xxx.xxx”, where xxx.xxx.xxx.xxx is the IP address of a virtual machine, which is not published on the Internet. If you cannot access the virtual machine, please contact us.
You should now test the VPN connection by opening a terminal window, (Click on the [[File:Tunnelblick_Run_7.png|border|20px]] icon on the top right of your screen, type “Terminal” and select the application) and type “ping xxx.xxx.xxx.xxx”, where xxx.xxx.xxx.xxx is the IP address of a virtual machine, which is not published on the Internet. If you cannot access the virtual machine, please contact us.


To disconnect from the VPN, put the mouse pointer on the icon (without clicking). The connection window appears:
 
To disconnect from the VPN, put the mouse pointer on the Tunnelblick icon ([[File:Tunnelblick_Run_4.png|25px]])  (without clicking). The connection window appears:
   
   
[[File:Tunnelblick_Run_8.png|300px]]
And click on “Disconnect”.
And click on “Disconnect”.


You can also click on the Tunnelblick icon ( ):
 
You can also click on the Tunnelblick icon ([[File:Tunnelblick_Run_4.png|25px]]):
 
[[File:Tunnelblick_Run_9.png|200px]]
   
   
And select “Disconnect CloudAtCipherSpace”
And select “Disconnect <Customer-User>” (where <Customer-User> corresponds to your VPN configuration).

Latest revision as of 22:15, 20 March 2017


Introduction

This guide will explain how to connect to your virtual machines, which aren’t accessible from the Internet, using the OpenVPN protocol. It will explain how to install Tunnelblick (OpenVPN client for Mac) on your mac as well as how to use it.

This guide assumes that you have some experience with OSX and that you have administrative rights on the computer on which Tunnelblick will be installed.

Installation

Go to https://tunnelblick.net:

Tunnelblick net.png

And click on “Download Latest Stable Release”. The Tunnelblick disk image file (a “.dmg” file) will be stored in your downloads folder.


Open the downloaded disk image file (which mounts the disk image):

Tunnelblick Install 1.png

And double-click the “Tunnelblick” icon (it may be labeled “Tunnelblick.app”):

You may get the following warning:

Tunnelblick Install 2.png

Click on “Open” to continue.

The following screen appears:

Tunnelblick Install 3.png

Type your password and click on “OK”.

Tunnelblick Install 4.png

Click on “Launch”:

Tunnelblick Launch 1.png

Click on “I have configuration files”. You will see the following screen:

Tunnelblick Launch 2.png

Before you can click on “OK”, the following screen appears:

Tunnelblick Launch 3.png

Click on “Do not check for a change”. The next screen appears:

Tunnelblick Launch 4.png

Click on “Check Automatically”.

Now you can click on OK on the previous screen. The Tunnelblick installation is complete.


Configuration

To install the necessary configuration files, open the folder where you have stored the files we sent you:

Tunnelblick Conf 1.png

And double-click on the “.ovpn” file. The following screen appears:

Tunnelblick Conf 2.png

If you have several users on this machine, who need to access the virtual machines, click on “All Users”, otherwise click on “Only Me”:

Tunnelblick Conf 3.png

Type your password and click on OK:

Tunnelblick Conf 4.png

Click on OK. The configuration file has been copied from your folder into Tunnelblick and are not needed anymore.

Running Tunnelblick

If Tunnelblick isn’t already launched, double-click on the “Tunnelblick” app located in your “Applications” folder. The following icon appears on the top right of your screen:

Tunnelblick Run 1.png

Put the mouse pointer on the icon (without clicking). The connection window appears:

Tunnelblick Run 2.png

And click on “Connect”:

Tunnelblick Run 3.png

Type the password we sent you for the corresponding configuration file. If you want, you can store the password in your Keychain by checking the “Save in Keychain” box, so you don’t have to type it each time you use Tunnelblick. Click on OK. You will see the status changing until it says “Connected” and the connection window disappears. The Tunnelblick icon will be as follows:

Tunnelblick Run 4.png

If you cannot get connected, please contact us.


You may get the following warning:

Tunnelblick Run 5.png

If you do, check the “Do not check for IP address changes” box and click on OK.

Another method to connect is to click on the Tunnelblick icon (Tunnelblick Run 1.png ):

Tunnelblick Run 6.png

And in the drop-down menu select “Connect <Customer-User>” (where <Customer-User> corresponds to your VPN configuration).


You should now test the VPN connection by opening a terminal window, (Click on the Tunnelblick Run 7.png icon on the top right of your screen, type “Terminal” and select the application) and type “ping xxx.xxx.xxx.xxx”, where xxx.xxx.xxx.xxx is the IP address of a virtual machine, which is not published on the Internet. If you cannot access the virtual machine, please contact us.


To disconnect from the VPN, put the mouse pointer on the Tunnelblick icon (Tunnelblick Run 4.png) (without clicking). The connection window appears:

Tunnelblick Run 8.png

And click on “Disconnect”.


You can also click on the Tunnelblick icon (Tunnelblick Run 4.png):

Tunnelblick Run 9.png

And select “Disconnect <Customer-User>” (where <Customer-User> corresponds to your VPN configuration).