Guide: WG-Easy

Setup

1
Rent any VPS server (preferably outside Russia).
Example provider: hshp.host
Connect to the server via SSH using the server IP, port, and password provided by your hosting provider.
I demonstrate this in the video guide using DigitalOcean as an example.
2
Install Docker on the VPS:
sudo apt install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
Types: deb
URIs: https://download.docker.com/linux/ubuntu
Suites: $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}")
Components: stable
Signed-By: /etc/apt/keyrings/docker.asc
EOF
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
3
Download WG-Easy and run it using this command:
sudo mkdir -p /etc/docker/containers/wg-easy &&
sudo curl -o /etc/docker/containers/wg-easy/docker-compose.yml https://raw.githubusercontent.com/wg-easy/wg-easy/master/docker-compose.yml &&
cd /etc/docker/containers/wg-easy &&
sudo docker compose up -d
4
Open the WG-Easy web interface: http://<YOUR_VPS_IP>:51821
5
Create users and download the configs.
Upload the config to the AmneziaWG config generator to add required parameters, then download it.
This is necessary for a successful connection.
IMPORTANT: Config files will be named in the format amn_"X".conf, where X is the last digit of the IP 10.8.0.X
6
Import the config into the WireSock app: WireSock
7
Connect to the server using WireGuard.
8
Launch Minecraft (or another game), create a world → Open to LAN → other players connect using the internal IP and port provided by the game.
WG-Easy simplifies managing WireGuard tunnels and generating configs for Amnezia WG. This setup works for any LAN game.

Amnezia WG Config Generator

Upload your config and generate a new one with added parameters for correct WireGuard operation.


Video Guide