INSTALL OPENVPN QUICKLY (DEBIAN 7,8,9/Ubuntu14,16)

*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

Debian 7:

DOWNLOAD IT:
64 bit:  
wget http://swupdate.openvpn.org/as/openvpn-as-2.5-Debian7.amd_64.deb

32 bit:  wget http://swupdate.openvpn.org/as/openvpn-as-2.5.2-Debian7.i386.deb 

INSTALL IT:
64 bit:  sudo dpkg -i openvpn-as-2.5-Debian7.amd_64.deb
32 bit:  sudo dpkg -i openvpn-as-2.5.2-Debian7.i386.deb

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

Debian 8
:

DOWNLOAD IT:
64 bit:  
wget http://swupdate.openvpn.org/as/openvpn-as-2.5.2-Debian8.amd_64.deb
32 bit:  wget http://swupdate.openvpn.org/as/openvpn-as-2.5-Debian8.i386.deb

INSTALL IT:
64 bit:  sudo dpkg -i openvpn-as-2.5.2-Debian8.amd_64.deb
32 bit:  sudo dpkg -i openvpn-as-2.5-Debian8.i386.deb

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

 

 Debian 9:
DOWNLOAD IT:
64 bit:  wget http://swupdate.openvpn.org/as/openvpn-as-2.5.2-Debian9.amd_64.deb
32 bit:  wget http://swupdate.openvpn.org/as/openvpn-as-2.5.2-Debian9.i386.deb

INSTALL IT:
64 bit:  sudo dpkg -i openvpn-as-2.5.2-Debian9.amd_64.deb
32 bit:  sudo dpkg -i 
openvpn-as-2.5.2-Debian9.i386.deb
------------------------------------------------------------------------------------------
Ubuntu 14 
:
D64 bit:  wget http://swupdate.openvpn.org/as/openvpn-as-2.5.2-Ubuntu14.amd_64.deb
32 bit:  wget http://swupdate.openvpn.org/as/openvpn-as-2.5.2-Ubuntu14.i386.deb 

INSTALL IT:

64 bit: 
sudo dpkg -i openvpn-as-2.5.2-Ubuntu14.amd_64.deb
32 bit:  sudo dpkg -i openvpn-as-2.5.2-Ubuntu14.i386.deb

Ubuntu 16 :
DOWNLOAD IT:
64 bit:  wget http://swupdate.openvpn.org/as/openvpn-as-2.5.2-Ubuntu16.amd_64.debeb
32 bit:  
wget http://swupdate.openvpn.org/as/openvpn-as-2.5.2-Ubuntu16.i386.deb 

INSTALL IT:
64 bit:  sudo dpkg -i openvpn-as-2.5.2-Ubuntu16.amd_64.debeb
32 bit:  sudo dpkg -i
openvpn-as-2.5.2-Ubuntu16.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 VISITING THAT LINKchange 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 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/ )

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.

  • very quick openvpn install, install openvpn on ubuntu, install openvpn ubuntu
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

TOS / PRIVACY POLICY FOR ORBITALUNDERGROUND HD PRODUCTIONS

Truman Alexander IV dba Orbitalunderground [HD] Productions. Terms of Service and Privacy Policy...

Google Analytics & Orbitalunderground Projects.

https://analytics.google.com All projects that involve public facing (production server as its...

How to create SSH keys. (Linux, Windows)

An SSH Key allows you to log into your server without needing a password. SSH Keys can be...

QUICK+PROPER SWAP FILE SETUP LINUX SERVER

There will be times where you need to increase the responsiveness of your server to prevent out...

PROPER FULL APACHE2 REMOVAL

apache2 is a metapackage that just selects other packages. If you installed apache by installing...