Use the steps below to install VyprVPN Self-Hosted Server on a Google Compute Engine server (Leave unmentioned fields at their default values or configure them as needed)::
(This virtual machine should be dedicated to running VyprVPN Self-Hosted Server. The software expects control of docker and iptables. Running other software on this VM is unsupported)
1. Access your Google Cloud Compute account and select +Create a VM
2. Give your server a name, and select your Region and Zone
3. Under General Purpose, select E2
4. For Machine type, select at least e2-small to ensure enough resources for the server to run effectively
5. Select OS and storage on the left side. Select Change
6. Set Operating system to Ubuntu. Select Ubuntu 24.04 LTS for Version
7. Select Networking. Enable HTTP and HTTPS traffic
8. Select Create server
Your server will be created. You will be taken to VM Instances where you will see the details of your server. Now it's time to set up the firewall rules for your server.
1. Select Set up firewall rules
2. Select Create firewall rule. Add a rule for each of the following ports, leaving other values at defaults or configured as needed (Note: These are basic rules and can be customized as needed. For example, if you wanted the server to only support Wireguard, you could leave out the ports needed for IKEv2, OpenVPN and Chameleon):
Name
|
Protocol
|
Port Range
|
Source IP filter
|
Description
|
---|---|---|---|---|
http | TCP | 80 | 0.0.0.0 | Access to the server UI with HTTP |
https | TCP | 443 | 0.0.0.0 | Access to the server UI with HTTPS |
ssh | TCP | 22 | 0.0.0.0 | Access the server via SSH |
ssh-2 | TCP | 222 | 0.0.0.0 | Access the server via SSH |
https-2 | UDP | 443 | 0.0.0.0 | Access to the server UI with HTTPS |
ikev2 | UDP | 500 | 0.0.0.0 | Allows IKEv2 VPN connection to the server |
wireguard | UDP | 51820 | 0.0.0.0 | Allows Wireguard connection to the server |
ovpn | UDP | 1194 | 0.0.0.0 | Allows OpenVPN and Chameleon connection to the server |
ikev2-2 | UDP | 4500 | 0.0.0.0 | Allows IKEv2 VPN connection to the server |
ovpn-2 | UDP | 15001-20000 | 0.0.0.0 | Allows OpenVPN and Chameleon connection to the server over a wide range of ports |
ovpn-3 | UDP | 25001-30000 | 0.0.0.0 | Allows OpenVPN and Chameleon connection to the server over a wide range of ports |
Now that you've opened the necessary ports to your server, it's time to connect to your server via SSH and install VyprVPN Licensed Server.
1. In Google Compute, Under Connect, select SSH (or SSH to your server using a different method of your choosing)
2. Once connected, enter the following command to install VyprVPN Licensed Server:
curl https://www.vyprvpn.com/downloads/vyprvpn/server/get-cloud-server?tstamp=$(date +%s) | sudo sh -
The server will be installed to your Google Cloud Compute VM. This will take several minutes. Once the installation is complete, the server will reboot.
Once the installation is complete and the server has rebooted, you can access the VyprVPN Self-Hosted Server Web Admin Panel by entering in your server's public IP in your browser's address bar. If packages are still installing, then you will see the installation screen the first time you access it immediately after creating the instance.
You are now ready to configure VyprVPN Self-Hosted Server! Head over to the web admin setup article if you wish to configure it via the web admin panel (recommended), or the CLI setup article if you wish to configure it via command line.
If you need any further assistance, please contact our 24/7 Customer Success Team, who would be glad to assist.