WireGuard VPN Server on Linux Stream 10 ensures high-speed, modern, and secure VPN connectivity with a lightweight and efficient protocol for optimized performance.

This is a quick deployment and ready-to-run image.
Simple and rapid installation. Easy to maintain.
Configuration and Connection to Wireguard VPN Server on Linux Stream 10
To work, you should open ports TCP – 22, and UDP – 51280-51282 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.
To connect to the Server, you should generate a “Private Key” in advance. This can be done using the following instructions (by choosing the “file format:” option “.ppk” in point 3) Guide – How To – Create and use Key Pair to connect to a VM
- Connecting to the VM using the PuTTY application. You can download it at the following link – Download
- Go to section SSH on the left panel, and then in Auth
- In the “Auth” section, click “Browse” and specify the path to the .ppk file you received earlier.
- Go to the home page of “Session”, enter the IP address of the VM, and click “Open”.
- In the opened console, you will need to enter the login ec2-user
- Next, you need to enter the following command to create a user
$ sudo addvpnuser
- Enter the username and press the Enter button
- Next, one of the free IP addresses will be offered, press Enter
- The console displays the QR code for mobile devices and the path to the config.
- Enter the command:
$ sudo cat /etc/wireguard/usercfg/wg0.test_user.conf
- Copy the part of the code highlighted in the screenshot using Ctrl + C.
- Create a blank text document and paste the copied part of the code into it using Ctrl + V.
- Press File, then Save as.
- In the line Save as type, select All files from the drop-down list. In the File name line, enter the file name and the “.conf” extension. Save the document by clicking on the Save button.
Connection to WireGuard Server
- Next, you need to install the WireGuard app. Download link: https://www.wireguard.com/install/ Launch the application.
- Click on the Import tunnel(s) from the button and select the file created earlier.
- Press the Activate button
Congratulations! This tutorial helped you configure the WireGuard VPN server and client. This setup allows you to surf the web anonymously by keeping your traffic data private.
You can check the functionality by opening the website www.myip.com in a browser.