Configuration and connection to SoftEther-VPN on Amazon 2023
To work, you should open TCP ports 22, 443, 992, 1194, 5555, and UDP port 1194 in the network properties in the Amazon firewall.
After purchasing and starting the VM, you should know its IP address. You can find it in the personal account of Amazon.
Software installation
- To start remote server administration on the operator’s computer, you need to install SoftEther VPN Server manager.
- In the “Select Component” drop-down list, select SoftEther VPN Server Manager for Windows.
- In the Select Platform drop-down list, choose Windows.
- Download links will be displayed. Select the latest version.
- Download the SoftEther VPN Server installer and run it after completing the download. In the window that opens, click “Next”:
- Select the “SoftEther VPN Server Manager (Admin Tools Only)” and click “Next”:
- After installation, run the program shortcut from the desktop.
Configuring the server
- When opened, the following window will be displayed:
You must create a new connection. To do this, click on the New Settings button.
- Specify the IP address of the AWS virtual machine in the Host Name line. Leave port 443 by default and click OK.
- To start the VPN Server admin panel, click Connect
- For the first authorization, you need to set a new administrator password to connect to the server.
- Next, in the “SoftEther VPN Server / Bridge Easy Setup” window, select the setting Remote Access VPN Server and click Next:
- Next, enter a name for the hub you want and click OK:
- Click Exit in the “Dynamic DNS Function” window:
- Click OK in the “IP / L2TP / EtherIP / L2TPv3 Settings” window:
- Next, select Disable VPN Azure and click OK.
- Next, close the window “VPN Easy Setup Tasks”.
- Also, when creating each hub, you need to enable the Virtual NAT function. For this, click “Manage Virtual Hub”:
- Open “Virtual NAT and Virtual DHCP Server (SecureNAT)”:
- Click “Enable SecureNAT”:
Adding New Users
- To work with a VPN, you should first add a user to the app. Click on the “Manage Virtual Hub” button:
- Then click on the “Manage Users” button:
- To create a new user, click “New”
- 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. After the data is entered, click “OK”.
- To change a user’s credentials, select the user and click “Edit”
Creating a Configuration File
- To create configuration files, click on the “OpenVPN / MS-SSTP Settings” button.
- Click on the “Generate a Sample Configuration File for OpenVPN Clients” button.
- When the window of the Windows Explorer is opened, select the path to save the archive:
- The saved archive should contain the following files:
- You should save the file named “…_openvpn_remote_access_l3.ovpn”.
Customize your VPN Client
- To customize the VPN Client, you need the OpenVPN Client for the work. Go to site: Community Downloads | OpenVPN, download and install OpenVPN client, depending on your OS Windows:
- Now the OpenVPN is ready for work, and you can run it. After it starts, add your VPN configuration file.
- Then enter your “Username” (1), Select the checkbox “Save password” (2) for your comfort, enter “Password” (3) and click “Connect” (4)
- Click “Continue” to confirm use without a certificate.
- Now you can use your Virtual Private Network.