Yeni bir madde oluştur
Sayfa başlığınızı buraya yazın:
We currently have 15 articles on UHeM Wiki. Type your article name above or create one of the articles listed here!

    UHeM Wiki

    VPN Connection to UHeM

    UHeM uses VPN (Virtual Private Network) to provide users with a secure and flexible connection. A VPN connection is solely used to enable users to connect to UHeM computers. Therefore, when the connection is established, there will be no window pop up or similar, prompting one to start a certain program. Access to UHeM computers is available as long as the VPN connection is active, though one will need different programs to connect to the actual computers. The latter can be achieved through the use of an SSH (Secure Shell) connection (text only interface where you can type and execute Linux commands) or through a graphical interface. The older UHeM machines (those accessed via lnode) support NX, while the newer Sariyer cluster uses x2go for graphical interface connections.

    To transfer files, there are various available programs, such as scp, WinScp, Filezilla, etc. Manuals for these can be found on our Wiki site.

    The e-mail that you should have received with the confirmation of the creation of your account, also contains a link, together with the necessary username and password to access the VPN client software we provide for your convenience. The username and password mentioned, is only to download the VPN software. Once you download and install this software, you will need the following in order to establish the VPN connection:

    • VPN server (VPN host)
    • Group Name
    • Group Password
    • Username
    • User Password

    All of this information is available in the e-mail mentioned above.

    The installation of the VPN client program varies with the operation system. The site that you used to download the software also contains installation instructions. Here we show the process for some of the most widely used operating systems.

    Mac OSX Settings

    The following are instructions for a VPN connection on Mac OS X 10.5 and later. For earlier distributions, please check the web site address provided in the email.

    OpenVPN Settings (for all Windows versions)

    VPN and SSH (Putty) installation video

    Download the OpenVPN client for Windows from [1]. Load to the openvpn client the openvpn-uhem-config.ovpn file, which you can obtain from the VPN client software and installation instructions link in the email you have received when your UHeM account was approved, or from the /okyanus/progs/openvpn/ folder on the sariyer login node. When you attempt a VPN connection, you will be asked only your UHeM username and password. Group name and password will not be asked.

    Once connected, you may get a warning that your IP has not changed; this is not a problem.

    Alternatve Windows10 Settings

    We recommend using the above OpenVPN client. However, as an alternative, if you would like to use the old Cisco VPN client, the following part explains how to get it to work on Windows 10. For older Windows versions, installation instructions can be found following the link in the email that was sent to you when your account was approved.

    Step 1 : Download the Cisco VPN Client (version 5.0.07)

    Step 2 : Download winfix.exe from [2]. Click on "Start Windows Fixup". Click on "Exit" button when it becomes active.

    VPN Windows Adım 2.png

    Step 3 : Download DNE. For 32-bit use [3] , for 64-bit use [4].

    Step 4 : Run DNE. Select "I accept the terms in the License Agreement" and press the "Install" button.

    VPN Windows Adım 4.png

    Step 5 : Complete the installation by pressing the "Finish" button and restart the computer.

    VPN Windows 5.png

    Step 6 : Start the Cisco VPN Client and click the "Next" button.

    VPN Windows Adım 6.png

    Step 7 : Select the "I accept the license agreement" option and click the "Next" button on each page that appears to finish the installation.

    VPN Windows Adım 7.png

    Step 8 : In the search menu write "regedit" to open the Registry Editor.

    VPN Windows Adım 8.png

    Step 9 : Select "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CVirtA" and press the "DisplayName".

    VPN Windows Adım 9.png

    Step 10 : For a 32-bit operating system write "Cisco Systems VPN Adapter" , for 64-bit "Cisco Systems VPN Adapter for 64-bit Windows" and press the "OK" button.

    VPN Windows Adım 10.png

    Step 11 : Start the newly installed Cisco VPN Client. Press the "New" button.

    VPN Windows Adım 11.png

    Step 12 : Write the IP number to the "Host" field, then enter the group name and password in the corresponding "Group Authentication" fields and press the "Save" button.

    VPN Windows Adım 12.png

    Step 13 : Make your selection from the connections list and press "Connect".

    VPN Windows Adım 13.png

    Step 14 : Enter your Username and Password to establish the connection.

    VPN Windows Adım 14.png

    Linux Setup

    Installing and Running vpnc via the Command Line:

    The following instructions are valid on Ubuntu 16.04 based systems. On Red Hat based systems, usage is the same and only the installation differs (instead of "apt-get" in Red Hat one uses the "yum" or "dnf" package manager).

    To download and install the vpnc client from the command line, type:

    sudo apt-get install network-manager-vpnc

    Once the program is installed and invoked from the command line you will see the following prompts (on some systems, the "vpnc" command must be ran as root, i.e., "sudo vpnc"):

    1.   Enter IPSec gateway address: 160.**.***.***

             ( Type the IP number appearing on the Host: line in the email you received when your account was approved.)

    2.   Enter IPSec ID for 160.**.***.***: U**********

             ( Type the Group Name printed in the email.)

    3.   Enter IPSec secret for U**********@160.**.***.***: ********

             ( Type the password from the Group Password: line in the email.)

    4.   Enter username for 160.**.***.***: your_username

             ( Type the username that appears under the Username  Password  Project Name line in the email.)

    5.   Enter password for kullanici_isminiz@160.**.***.***:

             ( Type the password that appears under the Username  Password  Project Name line in the email.)

    In step 4, you should enter your own username, and in step 5, the password that is used to enter the login nodes in our system. If you enter these by copy&paste from the email you have received from UHeM, often an extra empty character gets copied as well, which effectively means the wrong password is entered during the VPN connection, and the connection cannot be established. Therefore it is best to type the password instead of copying it; or make sure you are copying only the password, without the extra character.

    vpnc Connection via the nm-applet GUI:

    To use this graphical user interface, in addition to the "network-manager-vpnc", the "network-manager-vpnc-gnome" package must be installed as well. If you have not already installed the "network-manager-vpnc" package mentioned above, you can install both packages from the command line as follows:

    sudo apt-get install network-manager-vpnc network-manager-vpnc-gnome

    When the installation is finished, start the Network Manager Applet and select the "Edit Connections" option. Then select "Add", "Cisco Compatible VPN (vpnc)", and "Create" in that order. In the menu that appears, enter the IP address, your username and the group name, and then press the "save" button.



    Now you should be able to click on the Network Manager Applet and select the newly created connection to establish a VPN connection to UHeM.