Questions and Answers — VDSina

Using a server with WireGuard VPN pre-installed

How can I use a server with WireGuard VPN pre-installed?

06.12.2022 23:13 Employee Alexander Updated 07.12.2022 09:43 no comments yet
06.12.2022 23:13
Answers to the question — 1
Employee Misha

A server template with a pre-installed Wireguard VPN server is available in the control panel. You can select it as follows.

 

wireguard-vpn-1.png

 

After installing the system, you need to connect to the server via sftp and download the configuration file /root/wg0-client-client_1.conf

 

wireguard-vpn-2.png

 

The VPN client can be downloaded from the official website. Next, connect the previously downloaded configuration file in the VPN client.

 

wireguard-vpn-3.png

 

wireguard-vpn-4.png

 

Check that the connection is established and the VPN is working, go to the website 2ip.ru your IP must be the same as the server's IP.

You can also create additional users for a mobile device and so on. To do this, connect to the server via SSH and use the command:

./wireguard-install.sh

The script will ask you to enter some data, at the first stage you need to select 1)  Add a new user, then enter the client's name, then leave the data unchanged. In a second, you will receive a QR code for connecting via mobile devices, and the path to the configuration file for connecting this user for desktop devices.

 

wireguard-vpn-5.png

Updated 18 February, at 12:14 07.12.2022 09:41

To answer you need to register or log in.
Close the window
Authentication
2FA verification
Close the window
Registration
A password will be sent to the specified email address
Close the window
Password Reminder
Close the window
Password Reminder
Close the window
Password Reminder
Exit