Grandstream VoIP sobre OpenVPN en VitalPBX

Share on facebook
Share on google
Share on twitter
Share on linkedin
open vpn grandstream vitalpbx communication tools for businesses

Grandstream VoIP over OpenVPN in VitalPBX

VitalPBX includes a new OpenVPN module that together with the current Grandstream firmware includes support for it (server/client mode) which allows you to tunnel the whole SIP/RTP traffic over an encrypted channel. This is also the best solution to avoid any kind of NAT/routing issues because all the devices are directly accessible within the virtual IP subnet.

Next, we will show you how to configure a Grandstream phone.

1.- First make sure that the compression is set to “comp-lzo”, in the server configuration tab


OpenVPN Server

2.- Add an OpenVPN client by pressing the blue button at the bottom of the left corner

Add Client

3.- After we have created the client, we can download the OpenVPN configuration of our client from the client’s tab.

OpenVPN Client Actions

4.- A compressed zip file will be downloaded, and will contain the following files:

1.- ca.crt
2.- clientX.crt
3.- clientX.key

5.- Now we are going to configure a Grandstream phone, uploading the required files in Network/OpenVPN Settings

GrandStream OpenVPN Settings

  • OpenVPN® Server Address: we configure the IP/Domain of our server.
  • OpenVPN® Port: aquí configuramos el puerto para acceder al servidor.
  • OpenVPN® CA: cargamos el archivo ca.crt.
  • OpenVPN® Certificate, cargamos el archivo clientX.crt.
  • OpenVPN® Client key, cargamos el archivo clientX.key.


Después de establecer el túnel, es necesario configurar la cuenta SIP del teléfono. Recuerde que la dirección IP para llegar a VitalPBX es la primera en ese rango, es decir, si tenemos el rango, la dirección IP de la central es

Cuando cree la extensión SIP para conectarse, recuerde que para tener audio es necesario para la configuración de NAT: Force, Comedia.

En futuros artículos, explicaremos cómo conectar los teléfonos de la marca Yealink, Htek, así como los teléfonos Android y iPhone con el OpenVPN incorporado de VitalPBX.



About Us

This project started with the objective of creating a system/interface for the administration of PBX systems based on Asterisk,  easy to use, totally adapted for different mobile devices (Fully Responsive Design), and with all the characteristics of an advanced telecommunications system; Combining the flexibility from Asterisk with concepts that have been satisfactorily used in traditional telephone systems, concepts that somehow were ignored by the new generations of IP telephony.

Recent Posts

Follow Us

VitalPBX Overview

Sign up for our Newsletter

Subscribe and keep up to date with our news.