ovpn-start-installer
0

Do you wish to grow your individual individual OpenVPN host however you never have much skill that is technicaland time) to build it from scratch? I previously posted how to manually install OpenVPN server on CentOS. I believe I explained all the steps as clear as possible but I notice there are still comments that are many some issues happen. Ergo we additionally posted another guide to steer OpenVPN-AS that is newbie installing on******) but again it has few drawbacks like it has limitation in term of the number of users can use the VPN service.

So I started looking for another alternative until I found a OpenVPN that is cool Autoinstaller by Nyr at GitHub. Why is me personally actually impressed could be the known fact that the script only needs one line of command to execute. How cool is that?

Yet, the script will truly install and configure everything needed to build a OpenVPN that is working host. It features numerous users which you yourself can produce and permit them to get in touch to VPN that is special server’ve just built. Are you ready? Here’s what you need..

Requirements

  1. A server or VPS with at least 96MB of RAM (128MB or higher is recommended*************) that is(
  2. Make yes it operates Debian-based distros (like Ubuntu)
  3. A sit down elsewhere and an extra time of yours

In this informative article i personally use a VPS with 96MB of RAM from BandwagonHost (the Micro-96 plan costs me personally $4.99 USD each year) operating Debian 7 x86 Minimal template. Require suggestion? Decide to try DigitalOcean, Ramnode or read all my suggestion right here.

The Tutorial

Step 1 – Login towards VPS as root:

ovpn-1

Step 2 – ensure the TUN/TAP module is enabled for the VPS. It is possible to issue this demand:

cat /dev/net/tun

it should get back output that is following*******)

ovpn-2

other than output above, it means the TUN/TAP we are talking about is not enabled. You are meant by it must firstly allow it by hand. If the VPS is dependant on OpenVZ virtualization plus VPS supervisor is SolusVM, it is possible to just start to see the choice in SolusVM. Now login here and allow it:

ovpn-enable-tuntap

Step 3 – Now just issue that one distinct demand to start out setting up OpenVPN immediately:

wget git.io/vpn --no-check-certificate -O openvpn-install.sh; Bash.sh( that is openvpn-install********************) 

It will then start downloading the script:

ovpn-installer-script

Step 4 – It will then ask series of questions you have to answer with –mostly– yes (y) or no (n):

ovpn-start-installer

Step 5 – Now enter the client that is first that my instance i merely utilize client1. You can alter that towards name that is real but sure it is one word only. Once done, hit Enter and wait about 2 minutes.

ovpn-installer-script-client-2

A screenshot of the process..

ovpn-installer-script-process

Step 6 – And once done, you’ll see something similar to this:

ovpn-installer-script-done

That’s it.

Connecting to OpenVPN Server

First thing first, you have to download that newly created *.ovpn file to your local computer. For that, you can simply move that file to your web directory ((via browser************)if you have web server installed) then download it. Exemplory case of my own:

cp client1.ovpn /var/www/servermom.org/public_html/

Or, it is possible to hook up to your host either via FTP or sFTP and grab a copy that is local of file. Personally I prefer to use this method so I used FileZilla and downloaded the client1.ovpn file.

download-ovpn-1

download-ovpn

Next, copy that file to default OpenVPN’s configuration folder. Usually it is Program Files > OpenVPN > config.

Now launch up OpenVPN client app (OpenVPN GUI) on your computer and try to connect to your newly created VPN server.

ovpn-connect-client-1

ovpn-connected-success

Once connected, you can launch your web that is favorite browser see either ipchicken.com or whatismyip.com and you ought to now start to see the internet protocol address of the VPS, maybe not your genuine internet protocol address. Enjoy..

About The Author

Just how to enhance Database Searches with Full-Text Research in MySQL 5.6 on Ubuntu 16.04

Previous article

Just how to Install and make use of Lnav Log Viewer on Ubuntu 16.04 LTS

Next article

You may also like

Comments

Leave a Reply

More in debian