Hosting Vodia PBX in Google Cloud

Published on:

October 3, 2019

In this blog, we will cover the basic steps in setting up the Vodia PBX with Google Cloud. If you don’t have a google account, you can sign up at and get $300 to spend on Google Cloud Platform over the next 12 months!

Hosting Vodia PBX in Google Cloud

October 2, 2019 Press Releases, Vodia Blog

In this blog, we will cover the basic steps in setting up the Vodia PBX with Google Cloud. If you don’t have a google account, you can sign up at and get $300 to spend on Google Cloud Platform over the next 12 months!

If you don’t have a Vodia account, signup for free and receive a free license.

Getting Started

Once you have access to your Google Cloud Navigate to (Compute Engine) to create a VM.


Click on create


Setting up your VM

  • Name Your instance (Lower case) no spaces
  • Choose your region and zone
  • Machine configuration (Choose General-Purpose)

Building your instance

  • Choose your operating system.  (For this tutorial I am using Debian) You can use Windows or any other Linux flavor.
  • Service Account (Choose Compute Engine default service account)
  • Access Scope (Choose Allow default access)
  • Firewall Setting (Choose Allow HTTP traffic and Allow HTTPS Traffic)

When done, click create.


Running instance

Now that the VM is running, Google has provided us with an internal IP and external IP addresses. These IP addresses will be assigned to the Vodia PBX to determining the audio packets.


Edit the firewall

Next, we are going to set up the firewall on Google Cloud.

Click on your instance as shown below.


Next, scroll down to (Network details) and click on (View details)


In the right-hand panel choose (Firewall rule).


Create Firewall Rules

  • Click on (default-allow-internal)
  • Change the IP source address from to to and save.
  • This will take care of the following ports
  • 80     (TCP)
  • 443   (TCP
  • 5060 (UDP)
  • 5061 (TCP)
  • RTP Ports 49152- 64512
  • LDAP Ports 2345-2346

Installing the VodiaPBX Phone System

To install the VodiaPBX, we need to log in with SSH, to do this, click on the SSH drop down and choose (Open in the browser window).


This will open an SSH session on your browser.


Since I am using Debian, I am going to navigate to for the executable script.

In the command line, copy-paste the following in order.

In Debian:

  • wget after the script has been downloaded copy-paste the following cmd.
  • chmod a+rx

  • To execute the script you will have to use sudo ./ then sit back and relax!

When the script is done installing, the VodiaPBX will automatically startup.

Logging into the VodiaPBX

To log into the Vodia PBX, you will need to check your external IP address, this can be found in the main page of your VM.

Copy-paste the IP or click on the open browser link.


You will be presented with the Vodia login page, The user login is admin, there’s no password configured yet, so we will have to create one.


You will be presented with the license terms, click Agree to continue.


VodiaPBX license

Setting up the login password

Navigate to settings –> Security –>General

  • Enter a username
  • Enter a password /repeat
  • Allow login only from listed address ( is optional)
  • Save the password in a safe place

Behind NAT

Since Google Cloud is behind NAT, we need to program the Vodia PBX to use the external IP address of the VM. The ( IP Routing list ) in the Vodia PBX is used to override the operating system IP routing table. (This setting will be consulted by the system before consulting/using the operating system)

To check your internal/external IP address, click on the three-line icon and scroll down to (Compute Engine)


In this example, my internal IP is and my external IP is

IP Routing list value is as follow.

Example: :

To add your IP routing list on the Vodia PBX navigate to Settings –>SIP –>Setting as shown below, and add your value and save.

IP_routing list

Well, that was fun! To learn more about the VodiaPBX phone system visits us at

Latest Articles

View All

Vodia Now Integrates with Grafana®

Vodia now integrates with Grafana Labs®' technology to enhance observability in installations, addressing the needs of critical infrastructure environments like emergency services and healthcare. By integrating with Grafana's® scalable metrics, logs and traces solutions, Vodia ensures secure and reliable communication systems. This integration enables geo-redundant deployment and proactive incident response, supporting Vodia's commitment to IT security. Vodia also provides extensive support for implementing, monitoring and auditing these high-availability communication solutions, ensuring seamless integration with various platforms and adherence to stringent data protection measures.

June 19, 2024

The End of the Line

NEC's exit from the on-premise telephone systems market has left many customers at a crossroads, seeking effective alternatives. Vodia provides a seamless transition to our on-premise PBX, utilizing a proven migration path and advanced VoIP technology. In recent migrations, we observed the deep-rooted reliance on "lines" within NEC systems. Our approach ensured a smooth adaptation, teaching users to transition from the old two-step process to a more intuitive VoIP interface. VoIP eliminates physical lines, offering a robust, efficient, and user-friendly communication solution. With Vodia, your organization can continue to communicate effectively, ensuring business continuity and enhanced communication capabilities.

June 10, 2024

#SmartCommunication For Successful Learning

Effective communication is pivotal in enhancing learning experiences. Collaboration between educators and parents fosters a positive environment for students. Amidst the digitalization of education, prioritizing #SmartCommunication is essential for seamless integration of technology into teaching and learning. As learning methods evolve, educators are transforming into facilitators, guiding learners towards acquiring, applying and sharing knowledge. The role of assessment is also evolving, emphasizing the application and utilization of knowledge. While technology shapes the future of education, personal interaction remains vital.

June 7, 2024