OpenVPN Client

Virtual Privaate Networking (VPN) is technology which allows to access your private network (in our case RUPC cluster) accross the public network using private IP addresses. OpenVPN is open source VPN project which supports majour operating systems for free.
Each operating system (in our case Windows, MAC OS X and Linux) has a program which supports OpenVPN. Regardless operating sydstem (OS) in order to configure OpenVPN, administrator will provide you with configuration file having .ovpn extension. The configuration file for an OpenVPN client tells the client machine how to connect to the server and provides all necessary credentials.

Ask your administrator for the configuration file .ovpn.

Windows

On Windows, you will need the official OpenVPN Community Edition binaries which come with a GUI. Next, obtain your configuration file from your network administrator and place .ovpn configuration file into the proper directory, C:\Program Files\OpenVPN\config

main

and right click on GUI icon in the right windows corner

main

and click Connect in the GUI for chosen configuration (rupc-01 in the image below).

main

OpenVPN GUI on Windows must be executed with administrative privileges.

Mac OS X

On Mac OS X, the open source application Tunnelblick provides an interface similar to the OpenVPN GUI on Windows, and comes with OpenVPN and the required TUN/TAP drivers. Download Tunnelblick app and install it. As with Windows, the only step required is to place your .ovpn configuration file into the ~/Library/Application Support/Tunnelblick/Configurations directory. Or, you can double-click on your .ovpn file or you can start the application, and drag and drop configuration file (.ovpn) on the Tunnelblick icon in the menu bar or on the list of configurations in the 'Configurations' tab of the 'VPN Details' window.

main

To install multiple configuration files at one time, select all the files and then drag and drop all of them. The configuration file .ovpn is supplied to you by your network manager or VPN service provider.

After finishing "Authorization" and "Getting configuration" stages you finally should see green message "Connected" like on the image below for rupc-01 connection.

main

Disregard the warning below and click "OK".

main

To disconnect from the server use "Disconnect" button the Connection status window.

Linux

On Linux, if it is not already done, you should install OpenVPN from your distribution's official repositories. For CentOS 7 Linux the installation command is
sudo yum install openvpn easy-rsa -y

You can then start OpenVPN by executing the following command:

sudo openvpn --config ./rupc-01.ovpn

The configuration file (rupc-01.ovpn in the current example) should be obtained from your local network administrator.

Just for your information we provide output from ifconfig and route commands. Keep in mind that for the example below outputs of those commands were obtained on a virtual machine (it exaplains some extra interfaces and routes in comparison with a standard Linux box).
ifconfig
/sbin/route

What next?

Upon installation and configuration of the OpenVPN client you are ready to connect to the cluster. Please start the OpenVPN programm and connect to the network. To connect to RUPC you will need to use PRIVATE network: 192.168.201.211

From Linux terminal, or MAC OS X terminal you should use the the following command:

ssh -l your-rupc-username 192.168.201.211 .

On Windws computer depending on a program which you use for SSH connection (most commonly it is Putty) you can use your rupc username and 192.168.201.211 IP in the corresponsing fields.

Useful Links / Referencies

  1. Windows: An oficial OpenVPN download page for Windows
  2. Mac OS X: An official download page of Tunnelblick application for Mac OS X
  3. Linux: Starting up the OpenVPN and testing for initial connectivity

Conclusion

We hope the instllation and connection process will be easy and problemless for you. If you meet any unresolvable problems with it please let me know by E-mail

If VPN doesn't Work

Please, do NOT use public IP which includes name rupc-01, instead use private IP, which looks like 192.168.201.211. In short, use the following command to access the cluster:
ssh -l your-rupc-username 192.168.201.211.