Guide – How To Start – OpenVPN – Free VPN Server on Linux CentOS 8.2 on Amazon

OpenVPN 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 on CentOS 8.2.

  1.  To connect to the VM, you should generate a “Private Key” in advance. This can be done using the following instruction (by choosing the “file format:” option “.ppk” in point 3)

Guide – How To – Create and use Key Pair to connect to a VM

  1. Download and run Putty
  2. Go to the “SSH” section in the left panel and then to “Auth”.
  1. In the “Auth” section, click “Browse” and specify the path to the .ppk file you received earlier.
  2. Go to the home page of “Session”, enter the IP address of the VM and click “Open”.
  1. In the opened console you will need to enter the login ubuntu
  2. Next, you should enter the following commands:

> sudo vpnusers

  1. To create a new user type “1” and press Enter
  1. 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)
  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 9

  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.
  1. 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”.
  1. Right click on OpenVPN GUI again, point on the connection that appears and click Connect

Website Built with WordPress.com.

Up ↑

%d bloggers like this: