Configuring and connecting to SoftEther VPN Server Free VPN for Windows Server 2016 Datacenter
For the VM to work, you need to open TCP 443, 992, 5555, and UDP 1194, 500, and 4500 ports in the Security group in AWS Firefall.
Connecting to the Server
- To connect to the Server, you should generate a “Private Key” in advance. This can be done using Guidance on usage. To connect to the virtual machine, click the Remote desktop file from step 10 of the Guidance on usage
- In the window that appears, enter the password from step 12 of the Guidance on usage and click OK.
- Check the box and click Yes.
Running the server
- To start the VPN Server admin panel, you should open the app “SoftEther VPN Server Manager” on the desktop.
- Connect to the server
- Enter the administrator password from the SoftEther_Credentials file and click OK
- Click OK in the “IP / L2TP / EtherIP / L2TPv3 Settings” window:
- Also, when creating each hub, you need to enable the Virtual NAT function. For this, you need to 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 have a user to the app.
To create a new user 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 were entered, click “OK”.
- To change the user’s credentials, select the user and click “Edit”.
There is an existing user vpnuser. Its credentials are in the SoftEther_Credentials file
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:
- There are the following files in the saved archive:
- The file named “…_openvpn_remote_access_l3” needs to be saved on your local device
Creating a VPN Connection Using OpenVPN Client
- Run OpenVPN Connect. If you don’t have OpenVPN installed, you can download it here.
- In the OpenVPN Connect window, specify the path to the file you unpacked from the archive and click “OK”.
- Click Connect
- If the connection is successful, a confirmation window will be displayed.
You can verify your IP address has changed by visiting What Is My IP both before and after connecting to OpenVPN.
