Yealink Forums

Full Version: T28_OpenVPN by EasyVPN on Elastix
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everyone,

I am trying run OpenVPN on T28 IP Phone. I am using addon EasyVPN on Elastix but it not acctive. I don't know reasion why, content of file vpn.cnf :

[i]client
dev tun
proto udp
remote 118.69.52.142 1194
resolv-retry infinite
nobind
persist-key
persist-tun
mute-replay-warnings
ca /config/openvpn/keys/ca.crt
cert /config/openvpn/keys/VPN.crt
key /config/openvpn/keys/VPN.key
comp-lzo
verb 3
[/i]



Server.conf:
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 172.16.1.0 255.255.255.0
local 10.0.0.215
ifconfig-pool-persist ipp.txt
keepalive 10 140
comp-lzo no
user asterisk
group asterisk
persist-key
persist-tun
status openvpn-status.log
verb 3
client-to-client
#111crl-verify /etc/openvpn/crl.pem


Thanks for reading !
Hi,

Can you send openvpn.tar file to us for a check?
You can send it to james@yealink.com.

Regards,
James
I have already sent this file, please check !
I have a similar problem with a T21P
I am sure that the server works well for the Windows, Linux and Iphone / Ipad clients connect well

I want to help me

Thank you for your help
Hi, to Yealink OpenVPN please note:

1. SHA256 is not supported now.
2. Make sure that the "keys" folder and "vpn.cnf" file are compressed directly, don't put them into any folders.
3. Make sure that the parameter in cnf file is filled correctly, you can send the cnf file to us.

Regards,
James
Good morning, I'm experiencing the same problem with my yealink T28P device. What is the structure i should have in the files and keys in the .tar file and what is the correct setting for them in the .cnf file ?
Hi, I attach a .tar file sample. Please chceck.
My structure is the same. I'm publishing the server and client conf

server.conf

local 192.168.178.161
port 1195
proto udp
server 192.168.10.0 255.255.255.0
push "dhcp-option DNS 8.8.8.8"
push "route 192.168.178.0 255.255.255.0"
push "route 192.168.101.0 255.255.255.0"
comp-lzo
max-clients 2
verb 5
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
ifconfig-pool-persist ipp.txt
keepalive 10 30
user nobody
group nobody
persist-key
persist-tun
client-config-dir /etc/openvpn/ccd
status /var/log/openvpn-status.log 5
status-version 2
log /var/log/openvpn.log
log-append /var/log/openvpn.log
crl-verify /etc/openvpn/crl.pem
management localhost 7000
____________________________________________

client

dev tun
proto udp
remote ****.dyndns.org 1195
ca /config/keys/ca.crt
key /config/keys/client.key
cert /config/keys/client.crt
resolv-retry infinite
nobind
persist-key
persist-tun
comp-lzo
verb 1
ns-cert-type server

I've tried and your setting files client conf after i made my personal settings and nothing worked. I also tried and from another YEalink T28P and still nothing..
Please set the certificate path to:

ca/config/openvpn/keys/ca.crt
key /config/openvpn/keys/client.key
cert /config/openvpn/keys/client.crt

If it doesn't work, can you send us the whole tar file? You can send it to support@yealink.com.

Regards,
James
Reference URL's