BungeeCloud Forum
OpenVPN Installation Guide - Printable Version

+- BungeeCloud Forum (https://forum.bungeecloud.org)
+-- Forum: English (https://forum.bungeecloud.org/forumdisplay.php?fid=13)
+--- Forum: Tutorials (https://forum.bungeecloud.org/forumdisplay.php?fid=24)
+---- Forum: vServer (https://forum.bungeecloud.org/forumdisplay.php?fid=28)
+---- Thread: OpenVPN Installation Guide (/showthread.php?tid=16)



OpenVPN Installation Guide - Lukas S. - 13-09-2018

An OpenVPN server on a VPS is a matter to touch down less than 5 minutes and protects you against IP loggers, Skype Resolvers and DDoS attacks.




At first you select a server under:

https://shop.bungeecloud.org/clientarea.php?action=services

Now about the blue button "Manage" TUN//TAP activate. This restarts the VPS!

[Image: 1536785204-64-HBd2c62bfb-4087-4e09-9c07-...21a8fd.png]





Now OpenVPN can be installed on the vps!


Moreover you must announce yourself with SSH in the server and implement the following commands:


Ubuntu//Debian
Code:
apt-get update && apt-get upgrade -y

apt install ca-certificates -y


CentOS
Code:
yum update -y
yum install ca-certificates -y




Now under: https://openvpn.net/index.php/access-server/download-openvpn-as-sw.html
find the fitting version and copy the download URL by rightclick and download with wget if this is the right listed system corresponds!

Debian 8
Code:
wget https://swupdate.openvpn.org/as/openvpn-as-2.5.2-Debian8.amd_64.deb

Ubuntu 14.X
Code:
wget https://swupdate.openvpn.org/as/openvpn-as-2.5.2-Ubuntu14.amd_64.deb

Ubuntu 16.X
Code:
wget https://swupdate.openvpn.org/as/openvpn-as-2.5.2-Ubuntu16.amd_64.deb

CentOS 6.X
Code:
wget https://swupdate.openvpn.org/as/openvpn-as-2.5.2-CentOS7.x86_64.rpm

CentOS 7.X
Code:
wget https://swupdate.openvpn.org/as/openvpn-as-2.5.2-CentOS7.x86_64.rpm





Debian//Ubuntu - Installation


Code:
dpkg -I openvpn-as-*.deb
passwd openvpn

CentOS - Installation

Code:
rpm -i openvpn-as-*.deb
passwd openvpn



After the installation you navigate to the link for Adminpanel. Now you announce yourself with:

Username: openvpn
Password: Your chosen password

Here must be put in the network attitudes TCP ON, because the VPN connection can only be contructed with TCP.
[Image: 1536788498-65-Yx234d31ef-3cf1-4608-bfad-...c409bc.png]


Than save your configuration!

So you can connect to your VPN without a password you have to activate Auto-Login.

You have to navigate to ==> User Permissions and make a tick on "Allow Auto-login" for openvpn. Save it and update running Server.




Now you can login on https://IP:943 and can download the autologin profile.

You have to put the file in: C:\Program Files\OpenVPN\config

OpenVPN GUI has to start only with administrator rights!

If you have done that you can easily connect to your server!


You can check your IP here:

https://myip.is/