Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

THIS WIKI HAS BEEN UPDATED FOR VERSION 13 OF YOUR PBX GUI

...

By default, we set the Redirect Gateway to No, and is what most users will want to use. If you set this to Yes, then when a client connects to the VPN, ALL of the client's internet traffic will route through the PBX and go out from there. Leaving this set to No will have the VPN client only route traffic to the PBX that is on the Sever Range above. So for example if we set this to No and we connect a client to the VPN, we would access the PBX using 10.8.0.1 in our Server Range example above. All non-10.8.0.X traffic from the client would not come across the VPN but instead use the client's normal VPN traffic.

Note: If you want to  route the local network to the Openvpn clients, redirect must be enabled and the PBX restarted for the /proc/sys/net/ipv4/ip_forward and /etc/sysctl.d/98-forwarding.conf to be enabled

...

Creating Clients

Once we have set up our VPN server, we need to create one or more clients so that a client can connect to the VPN Server. Click on the Clients tab in Server VPN.

...

Enabling the option of Use DDNS will put the PBX's DDNS name into the client config for connecting to the VPN. If DDNS is disabled, Remote Address will be used as a fallback.The DDNS FQDN is managed inside the DDNS section of System Admin. You can also define a Remote Address, which would be the external IP address or FQDN at which the OpenVPN server is reachable for connecting clients.

...

Editing User Privileges

Navigate to the User Management module in your PBX and click the edit button (blue star) for the user you want to edit.

...

For VPN Clients, enter or more clients you want to link to this user.

...

Next click the UCP tab in the top row of tabs. This is where you will set the UCP-related privileges for the user.

In the bottom row of tabs, click System Admin.

...

As long as you have given the user privileges to access VPN Clients, the user can now log into the User Control Panel (UCP) and download the VPN Config. 

...

For information on how to set up your Open VPN Client on your computer, please click on your operating system below:

Windows Client Setup

Mac Client Setup

Linux Client Setup

Android Client Setup