Book Image

Elastix Unified Communications Server Cookbook

Book Image

Elastix Unified Communications Server Cookbook

Overview of this book

Table of Contents (24 chapters)
Elastix Unified Communications Server Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Description and Use of the Most Well-known FreePBX Modules
Addon Market Module
Asterisk Essential Commands
Asterisk Gateway Interface Programming
Helpful Linux Commands
Index

Creating a VPN tunnel in our Elastix Unified Communications Server with OpenVPN


Another way to keep our system secure is to enable a secure connection between the routers or firewalls in each endpoint. This connection can be done with a Virtual Private Network (VPN).

A VPN is an extension of a private network across the Internet enabling the communication between IP devices, as if they were connected to the private network. A VPN establishes a virtual point-to-point connection by using dedicated connections and encryption. One of the VPN's advantages, besides those already mentioned, is that we do not need to forward any TCP port, just one UDP port, generally 1194, to establish the connection between the sites. For the purposes of this recipe, we will use an add-on from Elastix called Easy-VPN, developed my Enlaza Comunicaciones (http://enlaza.mx).

How to do it…

  1. Connect to the console using any ssh client.

  2. Install OpenVPN and OpenSSL and the Easy-VPN application and libraries, executing the...