Guide – How To Start – SoftEther – Free VPN Server on Ubuntu 20.04 LTS on Amazon

SoftEther VPN is an optimum alternative to OpenVPN and Microsoft’s VPN servers. SoftEther VPN has a clone-function of OpenVPN Server. You can integrate from OpenVPN to SoftEther VPN smoothly. SoftEther VPN is faster than OpenVPN. SoftEther VPN also supports Microsoft SSTP VPN for Windows Vista / 7 / 8. No more need to pay expensive charges for Windows Server license for Remote-Access VPN function.

This image has an empty alt attribute; its file name is orange.png

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

SoftEther VPN Server Free VPN for Ubuntu 20.04

In case you have NSG’s or Firewall appliances in AWS Marketplace you’ll have to open access to the next ports: 443, 992, 1194, 5555 TCP, and 1194 UDP.

In order to open the ports, go to the Virtual machine’s settings in AWS Marketplace – open Networking, and add the necessary ports.

Then you need to open these ports in the Windows firewall.

To do this, go tothe “Windows firewall with advanced security” console, create an inbound rule to allow TCP on port (443, 992…).

To start remote server administration on the operator’s computer, you need to install SoftEther VPN Server manager.

This is a program for Windows OS. The software is available for download on the official website:

https://www.softether-download.com/en.aspx?product=softether

In the “Select Component” drop-down list, select SoftEther VPN Server Manager for Windows.

In the Select Platform drop-down list, select Windows.

Download links will display. Select the latest version:

SoftEther VPN Server and VPN Bridge (Ver 4.34, Build 9745, rtm)

Download the SoftEther VPN Server installer and run it after completing the download. In the window that opens, click “Next”:

This image has an empty alt attribute; its file name is O-260P8FemmxnxlVEZQiR_RIHRICtOXdgmKs_hRwgr6d8CVaSrhdwRsviMd-0UVVFjeW5YGZA8-R31ZykQqnzC3wpCa8M3-fCMyrQ8BBB_T__WcXpdeEfcQabRDZ8iyE1gD_VkxT

Select the “SoftEther VPN Server Manager (Admin Tools Only)” and click “Next”:

This image has an empty alt attribute; its file name is 7-ea0bu2tJ8TY1g5xuPvZmDN8Xqo6ptMq7Yi9hHl5zjVp00q4GJJEXDHqq0suVHNsHPzBl8AtRPV43iehPi9CKSx62ljzj3VKpIKuzhe9AiV08MfGuFP6xPE1Q9ZTFLnywa9uKpf

After installation, run the program shortcut from the desktop.

When opening, the following window will be displayed:

This image has an empty alt attribute; its file name is Cycz9BTGdGvW3EaHJ1V8iAwTf_iWiPTF73VR9cPr52Z-1KvQqBRF1V9JH9soWH-eCaUXmyMCJuP8lIgVQFzdXPNN4xfZlDFn6fX056RFtEVrz_jjFzFgWusZkDI_vjaodOLxkI_i

You must create a new connection. To do this, click on the button.

New Settings”.

Specify the IP address of the Amazon virtual machine in the “Host Name” line. Leave port 443 by default:

This image has an empty alt attribute; its file name is pFg0SLeivRewj42ZyUs-88MvyOOrkTYlvGl7yd5LE4JuqSd9fRHFBHPZwxngZrn1ocCVLrZAq4c69c5cEa-tsamZeM0nUrhFZkkib4Y-Q8evddvHqgyVrXgKv3pkAU8c8Y6Q7L3J

To start the VPN Server admin panel, you should open the app “SoftEther VPN Server Manager” on the desktop. Click “Connect” in the opened window of the app:

This image has an empty alt attribute; its file name is ZmlVdKPz74AEDOUqbIfwsKDfgviGX9j9fnBR7GVdThKeHm2oXM5bDkO5jn7QhOoh44UH3pRT0Bf0gEhMtBf_e7WOCWwhQSKvre4Zch-SJZEaWXrkxXzhFbqQTCnOwreDjXKuexaI

At the first authorization, you need to set a new administrator password to connect to the server.

This image has an empty alt attribute; its file name is image34.png

        Next, in the “SoftEther VPN Server / Bridge Easy Setup” window, select the setting Remote Access VPN Server and click “Next”:

This image has an empty alt attribute; its file name is image3-50.png

Next, enter a name for the hub you want and click “OK”

This image has an empty alt attribute; its file name is nUY_jv_m6sjek5IntFKEZWqekBGAiaa1dzto7EDU-pKFFMMe_wQUiB7-d7UNuSFQRw65_h4AEKTm0VYIBLmVP5K9qQ8u7-GW2H_HuvoYg1motna-LI0SrfspPdt3pzMw_u90Fvtr

Click Exit in the “Dynamic DNS Function” window:

This image has an empty alt attribute; its file name is image2-51.png

Click “OK” in the “IP / L2TP / EtherIP / L2TPv3 Settings” window:

This image has an empty alt attribute; its file name is image6-23.png

Next, select “Disable VPN Azure” and click “OK”.

This image has an empty alt attribute; its file name is lhL9_RdBVoFV8mYCDdzoE55yOEU1N3_0fMOC_pkVAdmeZEqKq0x1QTcb3dTfqKHPegS91LemDYYzIJlfFoO-E75DIw1Pl5GtLuLPsFoDVLFcDVtm6iGFY1FtV2JsVDObGxRxcQ_5

Next, close the windows “VPN Easy Setup Tasks”.

To work with VPN, at first you should add a user in the app.

For this you need:

  1. Click on the “Manage Virtual Hub” button:
  2. Then click on the “Manage Users” button:
This image has an empty alt attribute; its file name is _eoedAIusSZswCIG_3KUU0H4gG3D9bd7g-lB-bMhMVv_vxvBhUkbOLyslsbA0va7kONs8FLLIFqNuAIkbjY3-V5KAhQKx7utvFTENMVF4hPNh1qDXqRQK014_hPzqFMsUVy_AtRq
  1. To create a new user, click “New”:
  2. It’s necessary to insert the name of the user into the “User Name” field, type the password into the “Password” field and verify it by re-entering the password into the “Confirm Password” field.
This image has an empty alt attribute; its file name is h_e-K5634kll-GFnBeLmsEDwZ43k9zvCL8FkcWcCFImx-OtFOtXHPANTYyl6Q3gdkVQCmiFS0wZnYNLFF5tHPdo3icyIbSmD617pU98bru0LO5G4Fx7jiXuCMHnRiyxJCet34SPm
  1. After the data were entered, click “OK”.

Also, when creating each hub, you need to enable the Virtual NAT function.

For this you need:

  1. Click “Manage Virtual Hub”:
This image has an empty alt attribute; its file name is image9-13.png
  1. Open “Virtual NAT and Virtual DHCP Server (SecureNAT)”:
This image has an empty alt attribute; its file name is image18-2.png
  1. Click “Enable SecureNAT”:
This image has an empty alt attribute; its file name is image26.png

The instruction for the customization of the VPN Client

To customize the VPN Client, first, you need to know the server IP address. You can find it in the personal account of Amazon. (You need to select the virtual machine from the list. By clicking the item “Overview”, your IP is displayed in the line of “Public IP Address”).

After that, you need the OpenVPN Client for the work. Go to site: https://openvpn.net/community-downloads/ and download the installer in the “.exe” format, depending on your OS Windows:

After the downloading of the installer is finished, you should run it.

In the opened window of the OpenVPN  installer click on the “Next” button:

This image has an empty alt attribute; its file name is ivS8OjbBY94aJJg9OyGJ_XDnPQceaAepfkz4HRzkleF_fs7IXUdHnq1R1uj6JSPoFpfBTgqGWzRBC8504sgcDZFBFQoGAzE5CFccRSWBVgtpnwroW3wq0zgWjJI-aCunontCsQA2

After that click “I Agree”:

This image has an empty alt attribute; its file name is iQhjjILJsPOhHwPl_JJl7v1HdkBs1IFc3GBHcPfIiXx_ZZa8HQ8NCehO3nDgnlYlDzoZOgjY1zI-Zbxi-y9czBxQ0AReAyGY8iAxDI8s_KPPNQsDGpyiCxjU-gGqkfpAbuVbzcvM

Click “Next”:

This image has an empty alt attribute; its file name is RtKJ5e75hSviTBL-3KQaZSCkkQI1PzRES65sk1kEQFDum4LbSDmFy5GdcGaOQDZFVPJTbB1cRCqJsVx_gKA4JXjwBS6ka4KGmkMosN1KkON8YRcMmqXAX5QF6GL5tLTC8NjyYt7c

Then click “Install”:

This image has an empty alt attribute; its file name is szbiMANnMCFY4r6gLHGcyZ4AY4Xct90Hd4X4655M4qJWJ454cwmVUQipaaOJQb6gPMMUqtSscPlXP9-CPZi8AnlwmX-5urZhdaRmKeeM1HHLLgmxo3zLedDGmplrbvuLfnOhSQ4o

After the installation progress is finished, click “Next”:

This image has an empty alt attribute; its file name is 5yw797ctWqrUD8XSiHngwhcMOY6y2ukOCAdHaYcJjzPrCMCoYTb8bihkx-HyC9h6SIUmNP5BINRSUkypoarNE7qqzFaRXqg3THobzJgTM6imoAE4K46E4FO-fQf67KvCPLjPonip

And then click “Finish”.

When you try to start OpenVPN after the installation, the pop-up message of the absence of the configuration files appears:

This image has an empty alt attribute; its file name is UcW9hO74VZ1FtygZzqoiHX-KMXoPXzL3zk7fqbFxKBZ6dsW0KLf9xnlGOUu7uFcVqrHsjRQs9aq0bpPkFfBHyptEJFw2FzQ-PbdB8o7mU5rymAchvehiApYyb1kaRjsMTndp99UO

In order for OpenVPN to work, you need to add these configuration files for the app by hand. You can create them in the “SoftEther VPN Server Manager” app. For this you need:

  1. Run the “SoftEther VPN Server Manager”.
  2. Click “Connect” in the opened window of the app.
  3. Click on the “OpenVPN / MS-SSTP Settings” button.
This image has an empty alt attribute; its file name is wGRAuF8etIVjZXQNDbg7xklCnlKpcxFBGoe6SE7hWpiJ54FRySMz73ShfxR7VoJAaIjVg4Y0Oo8YqETLa5zYjl_-KMoVCLFhvQS3VKM1M-fKx09LUHmEtZfHssB07hvzNy8w_vZc
  1. Click on the “Generate a Sample Configuration File for OpenVPN Clients” button.
This image has an empty alt attribute; its file name is yHmoM9zBNbdi1-Ixeidh5ljH5Gl1U52zn_Iu1cy4Mjcbnb6WQIc1HXY-ZQXa_UoyBjosyulnIAz3adkpcymFzVG4kQ8tugm5CT5fcoy3ajn2-PuMkyChUyS0M_LUDpgSiQ9B5URj
  1. When the window of the Windows Explorer is opened, select the path to save the archive:
This image has an empty alt attribute; its file name is KQx57YS3v1KEcf29U-BZlyzaQwY5v5vminIUQYfe7LyLBAmlsxo7fg5h1zGvq-YLeAP2J_HxfhHOSdxzc7sbrz2fKu7wu7ZTz6eYPn5bgT_LW2nJBelTHaDxRrUjZLjNiS1MjzF6
  1. There are the next files in the saved archive:
This image has an empty alt attribute; its file name is 83Y_MvWR4w2vnxYvigAcq9cC4NpCs9LcH-d_Hxs7Kr-bH66BQ79AyqU2M_nKcRSHQcRtHg2Rc8REPvG2rgiCL3JYajr5-a1TeF8H_hMgIVuniq_4oxGYaolc4brLZMgIDdZqbARI
  1. You should transmit the file named “…_openvpn_site_to_site_bridge_l2” by the path of installation of the “OpenVPN”, in this case (since the standard path was selected) this is “C:\Program Files\OpenVPN\config”.
This image has an empty alt attribute; its file name is tJXQGJItcefLk4YxrO4Z8HjU4zSLmOcUs-y6NjKocLDjm8A6-sYKxK2AVTGj8SuQgpMq8dB0YEfLyuvRB3-2T02v3YSA4et_85J5j39C5L2uKPKvEcwksFuV7yOjQUj6lkCvNGr3

Now the OpenVPN is ready for work and you can run it. After it was started, the app is displayed in the system tray in the form of the monitor icon with the lock.

This image has an empty alt attribute; its file name is DRjGDO8NZiOZi7NfQbwia4OVqsp7KR2mEYGpBskGkCe4Lb47UcosQfvp_7sX7iFGQ6d7dY4XJOVeZ3mN0ih_Tas1TikYFlL_Q4GS2IBvwNByZH4CzpGufdU1pAyYaVcuywROne-4

To connect to VPN you should click the icon with the monitor with the lock twice.

The next windows will be opened:

This image has an empty alt attribute; its file name is oi7TIREf30Ti944QrKVrlJ9PriQFirju7128BkhcSeBikqke2Bd9WmQxW-pgAva7NaAPSCe32cS7big_Rah6ceit0a7USPMRrwFkEl_iVJTKBwmtfup-NvfnddORJZqpADh6Cflz

In the fields “Username” and “Password” it’s necessary to enter the name and the password which were added to the “SoftEther VPN Server Manager” and after that click “OK” to connect to the VPN server.

Connect to Ubuntu:

To connect to the virtual machine you can use the PuTTY client

(you can download it from the official site: https://www.putty.org/). 

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. Go to the SSHsection in the left panel and then to Auth.
This image has an empty alt attribute; its file name is LT0ese-2ciGFHVekaA41yKdQIcp0P9MN79eVNxE-tAsmMaYcXlM5exFnI-5o7KHl4uPfZoisI1own7MggEpB32iejYwPlhhT6rLybbe5SMIzUK4AUTLXdVLtH9IdNOuuSQpmHU_s
  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”.
This image has an empty alt attribute; its file name is xwchsvMHrMWmXiNWEjn5R0nqEa2RYBAyETxMo-Zbj0r2VZx8MddjlR0FLMq8WJvnl3wtPXN5s6aSMffHH14rcETIsZRRvh6I_dW4gFn33bGpxevVbHwBBPMKAyz-JyBmuB4CxnRS
  1. In the opened console you will need to enter the login ubuntu.

Website Built with WordPress.com.

Up ↑

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