ServerHost VPN
How to activate ServerHost VPN, add users and configure access to your servers, step by step.
Getting started: activate ServerHost VPN
- Enable access to the server
For SVH Cloud Web Hosting and Docker Hosting services, under Security, click Edit and enable “VPN access to this server”.
For other SVH Cloud services, the “VPN access” option is available directly in the service summary.
The first time you enable access, ServerHost VPN is created for your account and you are asked to enter the first user's details. Your account name and email address are filled in by default, but you can change them.
- Open the VPN tab
After activation, the VPN tab appears in your account. It contains your VPN users, the services accessible through ServerHost VPN and the setup instructions.
- Set up your computer
Each user receives a personal setup link by email, valid for 7 days. The linked page provides instructions for installing WireGuard, downloading the configuration file and importing it.
See “Computer setup” for instructions.
- ServerHost VPN routes only traffic to your servers and the VPN gateway through the tunnel. All other traffic uses your normal internet connection.
VPN users
- Add a user
In the VPN tab, click Add, enter the name and email address, then click Add and send the link.
Each user is associated with a single computer. You can add up to 14 users.
- Check the user's status
Next to each user, you can see whether their link has expired, setup is pending or setup is complete. For configured users, you can see whether they are currently connected or when they last connected.
- Send a new link
If the link has expired or the user is using a different computer, click Send a new link. The previous link is cancelled.
The old configuration remains valid until the new configuration is downloaded, at which point the key is replaced.
- Delete a user
Click Delete and confirm. Access for the computer associated with that user is revoked on the gateway.
If the broker does not respond, revocation is retried after 5 minutes.
Computer setup
- Open the link on the computer you will use
Open the link from the email on the computer you will use to connect to ServerHost VPN.
The link is consumed when you click the configuration download button. Keep the page open until you download the file. The “Download it again” button lets you download the file again from the same page.
- Install WireGuard
Follow the links on the setup page to install WireGuard. For iPhone, Android and Linux, also see the “Other systems (iPhone, Android, Linux)” link.
- Download the configuration file
Your personal key is generated in your browser. Only the public key is sent to the website.
The ServerHost-VPN.conf file is intended only for your user. Do not share it with anyone.
If you are replacing an existing configuration, downloading the new one invalidates the old one. Then import the new file into WireGuard.
- Connect on Windows
Open WireGuard and click “Import tunnel(s) from file”. Select ServerHost-VPN.conf from your Downloads folder, then click “Activate”.
The connection is active when the status turns green and shows “Active”.
- Connect on macOS
Open WireGuard and choose “Import Tunnel(s) from File…”. Select ServerHost-VPN.conf from your Downloads folder.
Click “Allow” when macOS requests permission, then click “Activate”.
- Activate the connection in WireGuard only when you need access through ServerHost VPN. All other traffic continues to use your normal internet connection.
Services accessible through VPN
- Choose the accessible servers
In the VPN tab, under “Services reachable through the VPN”, enable or disable access for each SVH Cloud service. You can also do this for services added later.
- Access your server's services
Computers connected through ServerHost VPN can access the server as if they were on your access address list.
This allows access to SSH, WP Admin, administration panels and ports that are not open to the internet.
- Update the configuration after changing servers
When you add or remove a service from ServerHost VPN, users who have already completed setup automatically receive a new link.
On the link page, each user downloads the new configuration and imports it into WireGuard. Downloading the new configuration invalidates the old configuration.
Until then, the old configuration allows access to servers that remain on the list. Removed servers are no longer accessible, while newly added servers become accessible after the new configuration is imported.
Deactivating ServerHost VPN
- Disable access
When you disable “VPN access” for the last service, ServerHost VPN is deactivated and computers can no longer connect.
- Enable access again
Users and their configurations are kept for 30 days.
If you enable access again during this period, the keys remain valid and their computers can connect as before.
After the 30-day period expires, ServerHost VPN is deleted by an automated task that runs daily.