Setting up your own VPN server has never been easier. With WireGuard setup for VPN (Virtual Private Network), a fast and highly secure VPN protocol, you can create your own private network in just a few steps. In this guide, we’ll show you how to quickly set up WireGuard on a VPS server and add users in under 2 minutes.
Table of Contents
Step 1: Get a VPS from SatisfyHost
Before starting, you’ll need a VPS (Virtual Private Server) to host your VPN. A reliable VPS from SatisfyHost starts at just $7 per month, offering the perfect balance of performance and cost to run your VPN.
Once you’ve set up your VPS, you’re ready to begin the installation process.
Step 2: Connect to Your Server
Connect to your VPS using an SSH client like PuTTY. This allows you to run commands on your server remotely. After connecting, you’ll have access to the server’s terminal.
Step 3: Install WireGuard
To install WireGuard on your VPS, follow these simple steps:
- Switch to the root user:
sudo su -
2. Download the WireGuard installation script:
curl -O https://raw.githubusercontent.com/angristan/wireguard-install/master/wireguard-install.sh
3. Make the script executable:
chmod +x wireguard-install.sh
4. Run the installation script:
./wireguard-install.sh
The script will guide you through the entire setup process, making it quick and easy to install WireGuard on your server.
Step 4: Get Your VPN Configuration File
After the installation, WireGuard will generate a configuration file for your VPN client. You can retrieve it with the following command (replace “yourname” with your chosen name):
cat /root/wg0-client-yourname.conf
This file contains all the details required to connect your device to the VPN.
Step 5: Save the Configuration File
Here’s how to save your configuration file for use on your local device:
- Copy the configuration text directly from the terminal (in PuTTY, highlighting the text automatically copies it to your clipboard).
- Paste the copied content into a text editor like Notepad.
- Save the file with a
.conf
extension, for example:wg0-client-yourname.conf
.
Step 6: Install and Configure the WireGuard Client
Once you’ve saved the configuration file, you need to download the WireGuard client for your platform. You can download it here.
After installation:
- Open the WireGuard client on your device.
- Click “Add Tunnel” and import the
.conf
file you just saved. - Activate the tunnel to securely connect to your VPN.
Step 7: Adding a New User
To add additional users to your VPN, follow these steps:
- Run the WireGuard setup script again:
./wireguard-install.sh
2. Choose option 1 from the menu to add a new user.
3. Enter the desired username and confirm by pressing Enter
a couple of times. Here I used jhon
.
Once the new user is created, you will receive a message similar to:
Your client config file is in /root/wg0-client-jhon.conf

Step 8: Set Up the New User
- View the configuration file for the new user (replace “jhon” with the new username):
nano /root/wg0-client-jhon.conf

2. Copy the content of the configuration file.
3. Open the WireGuard client on the new user’s device.
4. Click “Add Empty Tunnel” or press CTRL + N
.
- Paste the copied configuration into the fields and save the tunnel.
Now, the new user can securely connect to the VPN.
Conclusion
Setting up WireGuard on your VPS is incredibly easy and can be done in just a few minutes. Whether you’re creating your own private network or adding new users, WireGuard provides a fast and secure solution. Don’t forget, if you need a reliable server to host your VPN, you can get a VPS from SatisfyHost starting at just $7 per month. With this setup, you’ll have a robust VPN server ready in no time!