Knowledgebase
Orbitalunderground [HD] Productions > Orbitalunderground [HD] Productions - Help Desk > Knowledgebase

Search help:


Install OpenVPN on a vps in 30 seconds or less !

Solution

**enable TUN/TAP and ppp on your server's control panel.

change your root password, and update your packages:

apt-get update

apt-get upgrade

Download It:

Debian 7 32/64-bit:

64 bit:

wget http://swupdate.openvpn.org/as/openvpn-as-2.1.12-Debian7.amd_64.deb

32 bit:

wget http://swupdate.openvpn.org/as/openvpn-as-2.1.12-Debian7.i386.deb 

Ubuntu 14 32/64-bit:

64 bit:

wget http://swupdate.openvpn.org/as/openvpn-as-2.1.12-Ubuntu14.amd_64.deb

32 bit:

wget http://swupdate.openvpn.org/as/openvpn-as-2.1.12-Ubuntu14.i386.deb 

CentOS 6 32/64-bit:

64 bit:

http://swupdate.openvpn.org/as/openvpn-as-2.1.12-CentOS6.x86_64.rpm

32 bit:

http://swupdate.openvpn.org/as/openvpn-as-2.1.12-CentOS6.i386.rpm

Install it:

Debian 7 32/64-bit:

64 bit:

dpkg -i openvpn-as-2.1.12-Debian7.amd_64.deb  

32 bit:

dpkg -i openvpn-as-2.1.12-Debian7.i386.deb   

Ubuntu 14 32/64-bit:

64 bit:

dpkg -i openvpn-as-2.1.12-Ubuntu14.amd_64.deb  

32 bit:

dpkg -i openvpn-as-2.1.12-Ubuntu14.i386.deb

 

When finished, you should see the link to access your OpenVPN admin panel. Something like this:

https://xxx.xxx.xxx.xxx:943/admin

before continuing, change the password for the openvpn user.

Type:

passwd openvpn  

and choose a new password. You will need this for access to the admin panel.

Next navigate to the link given above for the admin panel, login and accept the license agreement.

You should now see your servers status overview page.

To download the client for your computer, access the link above without "/admin". (ie: https://xxx.xxx.xxx.xxx:943/ )

And that is it... now you can enjoy a fast and secure connection with OpenVPN-AS while using minimal resources.

----------------------------------------------------------------------------------------------

Additional Notes:

It is important to keep your Linux server up to date with security updates, Linux Distributions like Ubuntu and Debian release updates daily, here is an option to install security updates automatically.

1) Install the unattended-upgrades package with apt.

sudo apt-get install unattended-upgrades

2) To enable the unattended-upgrades function, run:

sudo dpkg-reconfigure --priority=low unattended-upgrades

Choose "Yes" here and press enter. 

This will create a new file /etc/apt/apt.conf.d/20auto-upgrades which activates the auto update function.

3) Adjust the update options in the file /etc/apt/apt.conf.d/50unattended-upgrades

nano /etc/apt/apt.conf.d/50unattended-upgrades

The default setup, which should work fine in most cases, will be this:

Unattended-Upgrade::Allowed-Origins {

 "${distro_id}:${distro_codename}-security";

// "${distro_id}:${distro_codename}-updates";

// "${distro_id}:${distro_codename}-proposed";

// "${distro_id}:${distro_codename}-backports";

};

This means that only security updates will be installed automatically.

This is the safest option as security updates should never break the existing server setup. 

If you like to install normal updates automatically as well, then remove the // in front of the "${distro_id}:${distro_codename}-updates" line.

Related articles Node.JS (Proper) INSTALL on Debian 7-wheezy(x64)
How to create SSH keys. (Linux, Windows)
Setting Up A Swap File On Linux. [step-by-step]
Article details
Article ID: 1
Category: Knowledgebase

 
« Go back