Saturday, November 28, 2015

OpenVPN Installation RHEL 6 with Windows client





What is OpenVPN?

With OpenVPN, you can:

·         tunnel any IP subnetwork or virtual ethernet adapter over a single UDP or TCP port,
·         configure a scalable, load-balanced VPN server farm using one or more machines which can handle thousands of dynamic connections from incoming VPN clients,
·         use all of the encryption, authentication, and certification features of the OpenSSL library to protect your private network traffic as it transits the internet,
·         use any cipher, key size, or HMAC digest (for datagram integrity checking) supported by the OpenSSL library,
·         choose between static-key based conventional encryption or certificate-based public key encryption,
·         use static, pre-shared keys or TLS-based dynamic key exchange,
·         use real-time adaptive link compression and traffic-shaping to manage link bandwidth utilization,
·         tunnel networks whose public endpoints are dynamic such as DHCP or dial-in clients,
·         tunnel networks through connection-oriented stateful firewalls without having to use explicit firewall rules, tunnel networks over NAT, create secure ethernet bridges using virtual tap devices, and
·         control OpenVPN using a GUI on Windows or Mac OS X.



OPENVPN installation on Redhat Linux Server 6:

Step1: Go to the given link and download rpm package.

step2: Login with root access and install  VPN server package
#rpm  -Uvh   openvpn-as-1.8.5-RHEL6.x86_64.rpm






Step3: Set your openvpn user password  for GUI login.
#passwd  openvpn

 







Step4: Open your browser and type your server ip in search bar

For admin access click on “I Understand Risks” and follow the screen.

In next window you will get login page. Give username=”openvpn” and password- “yourpassword”






Click on Agree





In next screen you will get openvpn server admin console.





Client Configuration:

Now Go to the Client machine “In my case I am using windows7”

Download openvpn client for windows 7 from

And  install it

OR

Open https://192.168.1.50:943 in your browser and accept the certificate agreement.
You will get this window fill your username and password and click on go.





Now click on “click here to connect”. It will download OPENVPN client automatically.




Now install your openvpn client just dubble click on .exe file & click on run.




Follow the screen and accept terms & agreement



Click on next and give installation directory path












Click on install
 







Once installation done click on finish








Now open your VPN client & give server IP and click on connect.








Give your username and password. And click on login







In next you will get your client is connect will VPN SERVER.








Also check in “open Network and sharing center” your VPN connection is established.








Testing:
In my case, I have a running httpd service on my VPN server.
Open browser on client machine and check.








That all done Now.

Note: In www.openvpn.org  you can download virtual appliance and setup  your server as per the requirements.


Reference document
Software package link:


Documents:













1 comment:

  1. Very good post. I am going through many of these
    issues as well..

    ReplyDelete