Guide – How To Start – OpenVPN – Free VPN Server on Ubuntu 18.04 LTS

OpenVPN Server provides flexible VPN solutions to secure your data communications, whether it’s for Internet privacy, remote access for employees, securing IoT, or for networking Cloud data centers

This is a quick deployment and ready-to-run image.
Simple and rapid installation. Easy to maintain.

The connection to OpenVPN server on Ubuntu 18.04.

  1. To connect to a VM, you need the PuTTy application to connect via ssh. You can download it at the following link – Download
  2. Run Putty, enter the VM address in the “Host” field, and click “Open” to connect.
  1. In the opened console you will need to enter a username and password that were specified when the VM has been creating.
  2. Next, you should enter the following commands:

> sudo vpnusers

5. To create a new user type “1” and press Enter

6. Write a user name and press Enter

  1. The last line will tell you where the config file is available (exampleuser.ovpn in this case)
  2. Go to the directory with configuration files with the command:

cd /etc/openvpn/clientconfigs

  1. You need to copy the contents of this file. To do this, display the contents of the file on the screen with the following command::

> cat exampleuser.ovpn

Don’t forget to replace “exampleuser” with the username that was created in step 6

  1. Copy the entire contents of the file by selecting it and pressing Ctrl + C
  2. Open Notepad or any other text editor and paste the contents of the file into a blank document
  3. Save the file with the extension .ovpn
  1. Run OpenVPN GUI. If you don’t have OpenVPN installed you can download it here.
  2. Click on the “Show hidden icons” and right mouse button on the OpenVPN GUI.

15. Go to the “Settings – Advanced” and in the “Configuration Files – Folder” specify the path to the file that you unpacked from the archive and click “OK”.

16. Right click on OpenVPN GUI again, point on the connection that appears and click Connect

Website Built with WordPress.com.

Up ↑

<span>%d</span> bloggers like this: