Grandstream VoIP over OpenVPN in VitalPBX

VitalPBX OpenVPN Grandstream Integration
Share on facebook
Share on twitter
Share on whatsapp
Share on telegram
Share on linkedin
Share on email
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.

Read our tutorials and guides on how to implement new tools and technologies for your business with VitalPBX here.

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


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.

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

  • OpenVPN® Server Address: we configure the IP/Domain of our server.
  • OpenVPN® Port: here we configure the port to access the server.
  • OpenVPN® CA: we load ca.crt file.
  • OpenVPN® Certificate, we load clientX.crt file.
  • OpenVPN® Client key, we load clientX.key file.


After establishing the tunnel, it is necessary to configure the SIP account of the telephone. Remember that the IP Address to reach VitalPBX is the first in that range, that is, if we have the range, the IP Address of the PBX is

When you create the SIP extension to connect, remember that to have audio it is necessary for the configuration of NAT must be Force, Comedia.

In future articles, we will explain how to connect phones of the brand  Yealink, Htek as well as Android and iPhone phones with the OpenVPN built-in of VitalPBX. Learn more about VitalPBX, our services and how we can help you achieve your goals in our official website.

Our Latest Post

VitalPBX Asterisk WebRTC with PJSip
Rodrigo Cuadra

Asterisk WebRTC con PJSip desde Cero

1.- Introducción WebRTC (Web Real-Time Communication) es un proyecto gratuito de código abierto que proporciona navegadores web y aplicaciones móviles con comunicaciones en tiempo real

Read More »

No comment yet, add your voice below!

Add a Comment

VitalPBX Logo

66 West Flagler Street
Suite 900 – #1957
Miami, FL 33130, USA

Phone: +1(305) 560-5776


Subscribe to our newsletter to receive updates and the latest news from VitalPBX

Copyright @ 2020 VitalPBX,  All rights reserved.