Tech Support


5. Accessing VNC, SSH, using secured tunnel OPENVPN.

Overview

  • Download and Install openvpn client
  • Download required openvpn keys from your gateway server, where you can get it from your gateway page.
  • Open the openvpn profile using the openvpn client.
  • Accessing putty to start VNC server for first time on server.
  • Launch VNC Server on your computing pc.
  • Launch VNC viewer from your host/client pc.

5.1 Installing & Connecting using OpenVPN Client on Linux.


5.1.b Installing Openvpn Client on Linux.

login as root and use yum command to install the openvpn client.
[ user19 ][~ ]$ sudo yum install openvpn
[sudo] password for Vasant:
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
→ Running transaction check
→ Package openvpn.x86_64 0:2.2.0-3.el5.rf set to be updated
→ Processing Dependency: lzo for package: openvpn
→ Processing Dependency: libpkcs11-helper.so.1()(64bit) for package: openvpn
→ Processing Dependency: liblzo2.so.2()(64bit) for package: openvpn
→ Running transaction check
→ Package lzo.x86_64 0:2.04-1.el5.rf set to be updated
→ Package pkcs11-helper.x86_64 0:1.08-1.el5.rf set to be updated
→ Finished Dependency Resolution
Dependencies Resolved

Ask your system admin to add your login to openvpn group. Once you added to openvpn group, use below command.
Vasant [ user19 ][~ ]$ sudo /usr/sbin/openvpn -- config <vpngatway config file>.


To view help on how to download the VPN Keys click on the link View how to Download the VPN Keys


5.1.c Connecting gateway using Open VPN Client.

We can connect only using root permission, for this login as root & use the openvpn cmd, or using sudo command we can run the openvpn command. $sudo /usr/sbin/openvpn ‐config <openvpnconfig file>
Vasant [ user19 ][~ ]$ cd Desktop/OpenVPN/Security_Keys/vpnkey/
Vasant [ user19 ][~/Desktop/OpenVPN/Security_Keys/vpnkey ]$ ll
total 36
-rwxr--r-- 1 Vasant cad 1960 Jul 26 12:50 ca-cert.pem
-rwxr--r-- 1 Vasant cad 4810 Jul 26 12:50 client-vasant-cert.pem
-rwxr--r-- 1 Vasant cad 1679 Jul 26 12:50 client-vasant-key.pem
-rwxr--r-- 1 Vasant cad 256 Jul 26 12:50 gateway.chips.com.ovpn
Vasant [ user19 ][~/Desktop/OpenVPN/Security_Keys/vpnkey ]$ sudo /usr/sbin/openvpn --config gateway.chips.com.ovpn



Now open new terminal to check whether you have connected or no.


Now you can connect to your Office Local network from outside world.