There are many ways to setup a VPN, for most users security is a concern because the VPN is basically a gateway to your whole home network. In this tutorial I will be using Hamachi for setting up the VPN.
LogMeIn Hamachi is a hosted VPN service that lets you securely extend LAN-like networks to distributed teams, mobile workers and your gamer friends alike. In minutes. More infomation: here
The most difficult thing for most people when setting up a VPN is forwarding a port in their router so that the VPN can actually connect. The port you need to forward is port 1723 and the procedure is probably explained in your router’s manual and won’t be covered here.

Dont worry! You can do this the easy way you can do this the easy way and install the Hamachi VPN for a very easy VPN setup.
This article will help you to add Linux machine to this existing network and communicate other systems ( windows + linux ) on this network.

03 steps to do this.


Step 1: Install Required Packages

For installing hamachi on RHEL/CentOS system, you need to have redhat-lsb package installed. If you don’t have already install it using following command.
# yum install redhat-lsb

Step 2: Download Hamachi and Install

Download latest logmein-hamachi rpm file from logmein official site and install it on your system or just use below commands
# cd /tmp
# wget https://secure.logmein.com/labs/logmein-hamachi-2.1.0.101-1.x86_64.rpm
# rpm -ivh logmein-hamachi-2.1.0.101-1.x86_64.rpm

Start Hamachi Service using hamachi init service
# /etc/init.d/logmein-hamachi start

Step 3: Join Hamachi Existing Network

I have already created hamachi network before and get a network id and connected a windows system with this network.
Network ID: HQlotte.banbeit.com
Windows Client IP: 25.27.230.206

Now, let’s join to existing network.
# hamachi login
# hamachi join HQlotte.banbeit.com
Password: *****
Joining HQlotte.banbeit.com .. ok
Now you have successfully joind to existing network.

Congratulation!

Now, you can get your files in the workplace from anywhere.

LogMeIn Hamachi has two great features. First, all connection are encrypted so you are safe. Second, it is transparent, meaning all technical stuff are done behind the scenes so no IP address, Gateway Address or DNS is required to be set. Awesome!

Let me know if you have any question.