How to setup OpenVPN on iOS devices with VitalPBX

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

How to setup OpenVPN on iOS devices with VitalPBX

The OpenVPN protocol is not one that is built into the Apple iOS operating system for iPhones, iPads, and iPods. Therefore a client program is required that can handle capturing the traffic you wish to send through the OpenVPN tunnel, and encrypting it and passing it to the OpenVPN server. And of course, the reverse, to decrypt the return traffic. There is currently only one client available that works on standard Apple iOS devices.

Official OpenVPN Connect app

On the official Apple App Store, the client you can download and install for free is called OpenVPN Connect. This application supports only one active VPN tunnel at a time. Trying to connect to two different servers at the same time is a function that is not built into the official application OpenVPN Connect app, and it is also not possible because the underlying operating system does not allow this. The OpenVPN Connect app is able to remember multiple different servers, but only one can be active at a time.

To obtain the OpenVPN Connect app, go to the Apple App Store on your Apple iOS device. Search for “OpenVPN Connect” and the application will show up in the search results. You can install it from there. Once installed an icon will be placed on your home screen where you can find the app.

OpenVPN Connect

Next, we will show you how to configure an iPhone OpenVPN client.

1.- First make sure that the Server Configuration is complete.

Server

In this tab, you will find the information about OpenVPN Server.

VitalPBX OpenVPN Server

 

2.- Add OpenVPN client by pressing the button on the bottom left

Add Client

VitalPBX OpenVPN Client

3.- We create a client and download the configuration.

VitalPBX OpenVPN Client Actions

4.- In the compressed file that we download there are 5 files:

1.- ca.crt
2.- clientX.crt
3.- clientX.key
4.- clientX.ovpn
5.- clientX_full.ovpn

We are going to use only the fifth file named clientX_full.ovpn.

5.- Now we send an email to our account with the attachment to be read on our iPhone. When receiving the mail we press on the attachment and in this way our OpenVPN will be configured. Please follow the next steps:

a.- Open the email

Full OpenVPN Configuration

b.- Tap the attached file and select Copy to OpenVPN App.

Import OpenVPN Configurations

c.- Now add the profile.

Import OpenVPN Configurations

d.- Then Allow the profile.

Import OpenVPN Configurations

e.- Now that everything is configured just press the connect button

Enable OpenVPN

f.- If everything is OK, the connect button will turn green and you will see activity in the sending/receiving of packages.

Enable OpenVPN

  • After establishing the tunnel, it is necessary to configure the SIP account of the SIP/IAX Mobile App. Remember that the IP Address to reach VitalPBX is the first in that range, that is, if we have the range 10.8.0.0, the IP Address of the PBX is 10.8.0.1.
  • 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 as Client phones of the brand Yealink, Htek, Grandstream as well as Android phones.

 

admin

admin

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.