Difference between revisions of "OpenVPN Guide OSX"
Client Admin (talk | contribs) |
|||
(9 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 6: | Line 10: | ||
==Installation== | ==Installation== | ||
Go to https://tunnelblick.net: | Go to https://tunnelblick.net: | ||
[[File:Tunnelblick_net.png| | |||
[[File:Tunnelblick_net.png|600px]] | |||
And click on “Download Latest Stable Release”. The Tunnelblick disk image file (a “.dmg” file) will be stored in your downloads folder. | And click on “Download Latest Stable Release”. The Tunnelblick disk image file (a “.dmg” file) will be stored in your downloads folder. | ||
Line 12: | Line 17: | ||
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| | |||
[[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”): | ||
You may get the following warning: | You may get the following warning: | ||
[[File:Tunnelblick_Install_2.png|600px]] | |||
Click on “Open” to continue. | Click on “Open” to continue. | ||
The following screen appears: | The following screen appears: | ||
[[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|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 | 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 | 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 [[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 | 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:
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):
And double-click the “Tunnelblick” icon (it may be labeled “Tunnelblick.app”):
You may get the following warning:
Click on “Open” to continue.
The following screen appears:
Type your password and click on “OK”.
Click on “Launch”:
Click on “I have configuration files”. You will see the following screen:
Before you can click on “OK”, the following screen appears:
Click on “Do not check for a change”. The next screen appears:
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:
And double-click on the “.ovpn” file. The following screen appears:
If you have several users on this machine, who need to access the virtual machines, click on “All Users”, otherwise click on “Only Me”:
Type your password and click on OK:
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:
Put the mouse pointer on the icon (without clicking). The connection window appears:
And click on “Connect”:
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:
If you cannot get connected, please contact us.
You may get the following warning:
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 ( ):
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.
To disconnect from the VPN, put the mouse pointer on the Tunnelblick icon () (without clicking). The connection window appears:
And click on “Disconnect”.
You can also click on the Tunnelblick icon ():
And select “Disconnect <Customer-User>” (where <Customer-User> corresponds to your VPN configuration).