How to Install VPN on a VPS Server Using CentOS 6

n a VPS server, you can lease out some of the resources of a physical server which is run by the web host. You are also free to install any operating system of your choice on the virtual server. When you install a VPN on the VPS server, it will work like a proxy server. The private IP address which VPS offers is not going to be restricted or blocked by firewalls. The traffic between the VPS and your computer has to pass through encryption. When the VPS is outside the enemy’s zone of influence, it can offer high data privacy. The VPN installed on VPS will also protect against hackers when you use public Wi-Fi hotspots.

Installing the Open VPS on a VPS using CentOS 6 demands a certain amount of technical expertise. You will require a VPS server having CentOS 6 pre-installed and 218MB RAM. You will also need a SSH client which the Linux and OSX users have. In the first step, you need to open the SSH client and then use the IP address to connect to the server given by your hosting provider. You have to login as root, entering the password provided by the host. In PuTTY this typed password is not visible and you simply press on “Enter”. Before you move on, it is important to check that tap is enabled. You can enter cat/net/dev/tun; when this is enabled you will see the response: File descriptor in bad state. When you get some other response, it means that the tun/tap has not been enabled. So, you will have to login to the control panel in the VPS in order to enable it.

In the next step, you must download OpenVPN Server Access by entering: wget http://swupdate.openvpn.org/as/openvpn-as-2.1.4-CentOS6.i386.rpm(CentOS 6 32-bit) or wget http://swupdate.openvpn.org/as/openvpn-as-2.1.4-CentOS6.x86_64.rpm(CentOS 6 64-bit). You must then set up the package by using ‘rpm’ command. You must check the line which says: ‘Saving to’ to check the package name. Then, you have to enter rpm -i . You have to remember the Client UI Address and the Admin UI address.

When this is done, you need to set a password. So, you can enter passwd openvn, and then type in the password you want at the prompt. Finally, you have to paste the given Admin UI address in your browser and enter the username ‘openvn’ and also the password you had provided in the Admin Login. You will have to agree to the end-user License Agreement when you use this for the first time. With this, the installation is done and you should be able to view OpenVPN Access Server configuration page.

Have questions?

Ask us.



    AWS Standard Consulting Partner

    • Go4hosting
    • Go4hosting

    Alibaba Cloud

    Go4hosting

    Go4hosting-NOW-NASSCOM-Member Drupal Reseller Hosting Partner

    Cyfuture Ltd.

    The Cricket Barn
    Tiverton
    Exeter
    EX16 8ND

    Ph:   1-888-795-2770
    E-mail:   [email protected]