Use the steps below to deploy VyprVPN Self-Hosted Server on a Microsoft Azure virtual 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. Log into Azure and search for Virtual Machines at the top
2. Select Create, then select Virtual machine
3. Select your preferred region. We recommend selecting a region that is geographically closer to the people who will be connecting to the server.
For Security type, select Standard
4. For Image, select Ubuntu Server 24.04 LTS - x64 Gen2
5. For Size, select at least Standard_D2s_v3 - 2 vcpus, 8 GiB memory
5. For Inbound port rules, select Allow selected ports, and allow HTTP (80), HTTPS (443), and SSH (22) (You can specify allowed IP addresses in the upcoming Networking section)
6. Select Next: Disks. Leave Disks settings at defaults, or configure as needed.
7. Select Next: Networking
8. For NIC network security group, select advanced
9. Create a new Security group with the following parameters. The ports below should be configured as Inbound rules. Outbound rules can be left at defaults or configured as needed. Source port ranges should be left as an asterisk (*), and Destination port ranges should be configured as below (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):
Type
|
Protocol
|
Port Range
|
Source
|
Description
|
---|---|---|---|---|
HTTP | TCP | 80 | Anywhere | Access to the server UI with HTTP |
HTTPS | TCP | 443 | Anywhere | Access to the server UI with HTTPS |
SSH | TCP | 22 | Anywhere | Access the server via SSH |
Custom TCP Rule | TCP | 222 | Anywhere | Access the server via SSH |
Custom UDP Rule | UDP | 443 | Anywhere | Access to the server UI with HTTPS |
Custom UDP Rule | UDP | 500 | Anywhere | Allows IKEv2 VPN connection to the server |
Custom UDP Rule | UDP | 51820 | Anywhere | Allows Wireguard connection to the server |
Custom UDP Rule | UDP | 1194 | Anywhere | Allows OpenVPN and Chameleon connection to the server |
Custom UDP Rule | UDP | 4500 | Anywhere | Allows IKEv2 VPN connection to the server |
Custom UDP Rule | UDP | 15001-20000 | Anywhere | Allows OpenVPN and Chameleon connection to the server over a wide range of ports |
Custom UDP Rule | UDP | 25001-30000 | Anywhere | Allows OpenVPN and Chameleon connection to the server over a wide range of ports |
10. Select Next: Management. Leave settings at default values or configure them as needed.
11. Select Next: Monitoring. Leave settings at default values or configure them as needed.
12. Select Next: Advanced. Leave settings at default values or configure them as needed.
13. Select Next: Review + create. Review your server overview. Select Create to create your Azure server. It will take a few minutes for the deployment to complete.
14. Your Azure server has been created! To install VyprVPN Self-Hosted Server, first SSH to the server using a method of your choosing.
15. While connected to the server via SSH, run the following command to install VyprVPN Self-Hosted Server on your Azure instance:
curl https://www.vyprvpn.com/downloads/vyprvpn/server/get-cloud-server?tstamp=$(date +%s) | sudo sh -
Once the installation is complete, the system 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.