How to Use OpenVPN on MyPBX

1. Summary

OpenVPN is a free and open source software application that implements virtual private network (VPN) techniques for creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It uses SSL/TLS security for encryption and is capable of traversing network address translators (NATs) and firewalls.

OpenVPN allows peers to authenticate each other using a pre-shared secret key, certificates or username/password. When used in a multi-client-server configuration, it allows the server to release an authentication certificate for every client, using signature and Certificate authority. It uses the Open SSL encryption library extensively, as well as the SSLv3/TLSv1 protocol, and contains many security and control features.

If you open the VPN for MyPBX, MyPBX can access to the company’s branch, IP phones in the branch can register the accounts and make calls. But the server configuration, please consult the server vendors.

MyPBX supports Open VPN feature in version and higher.

This guide is also available for Yeastar gateways have OpenVPN feature.

2. Settings

2.1 make OpenVPN file


“VPN Config” : For the VPN configuration, please consult your OpenVPN Provider. And you can also refer to the template file provided by Yeastar.
VPN Config:
Configuration file format: The file format must be .tar format , The file name of .rar file can use numbers, letters ‘_’and ‘.’ . The .tar file contains two certificates, one key and configuration file. All these info are given by your VPN service provider.

Since our MyPBX is based on UC Linux, you should use .conf format client configuration file instead of .ovpn which is used on Windows OS.

NOTE: Do not use ‘user’ and ‘group’ in the client configuration file, or the OpenVPN will not work on MyPBX. The following is the example:


2.2 Upload the OpenVPN file to MyPBX:

1)Open the MyPBX’s web page ;
2)The client-side configuration via web management ‘VPN settings->enable VPN->Choose File’, choose the file then click ‘upload’:

If your OpenVPN can’t work well on MyPBX, please check if it can be used successfully on your Windows (Win2000/XP/Vista, if use OpenVPN on Win7, it should be run OpenVPN compatible with Win XP and as administrator) or Mac OS.


Have more questions? Submit a request


Please sign in to leave a comment.