I am using the OpenVPN setup in the Distro with EPM and UCP all registered.
I've worked with Yealink to figure out how to upload the correctly formatted vpn.tar file
I would LOVE for FreePBX to build a config to be exported via UCP.
Currently when i download via UCP i get client##.zip which contains the following files.
..
sysadmin_client##.key
sysadmin_client##.crt
sysadmin_client##.conf
sysadmin_ca.crt
Now Yealink needs a .tar file to upload to the phones. So i start by creating VPN.tar and from there i create the following files.
..
keys\client.key
keys\client.crt
keys\ca.crt
vpn.cnf
If you see the key, crt, and ca,crt are just the sysadmin files renamed.
Now your sysadmin_client##.conf needs to be changed to vpn.cnf and a couple lines need to be changed to work properly.
I will display my sysadmin_client26.conf files below and then vpn.cnf so you can see the minor changes i needed to make for it to work.
Configuration automatically generated via Sysadmin RPM
MODIFICATIONS TO THIS FILE WILL BE OVERWRITTEN.
Generated at: Mon, 09 Jan 2017 14:33:17 +0000
client
dev tun
proto udp
resolv-retry 60
nobind
persist-key
persist-tun
remote-cert-tls server
ca sysadmin_ca.crt
cert sysadmin_client26.crt
key sysadmin_client26.key
comp-lzo
verb 3
remote xxxxxxxxx4.deployments.pbxact.com 1194
remote xxx.xxx.xxx.188 1194
Now my Yealink vpn.cnf file that has been modified and works is below.
client
remote xxx.xxx.xxx.188
port 1194
dev tun
proto udp
resolv-retry 60
nobind
persist-key
persist-tun
remote-cert-tls server
comp-lzo
verb 3
ca /config/openvpn/keys/ca.crt
cert /config/openvpn/keys/client.crt
key /config/openvpn/keys/client.key
Do you see my changes well i do and they work. I've tested this on W56P and T48G phones. Can FreePBX add the download for Yealink phones following my recommendations above?